@@ -16,7 +16,7 @@ use super::super::dispatch;
16
16
use crate :: body:: { Body , Incoming as IncomingBody } ;
17
17
use crate :: common:: time:: Time ;
18
18
use crate :: proto;
19
- use crate :: rt:: bounds:: ExecutorClient ;
19
+ use crate :: rt:: bounds:: Http2ClientConnExec ;
20
20
use crate :: rt:: Timer ;
21
21
22
22
/// The sender side of an established connection.
@@ -41,7 +41,7 @@ pub struct Connection<T, B, E>
41
41
where
42
42
T : Read + Write + ' static + Unpin ,
43
43
B : Body + ' static ,
44
- E : ExecutorClient < B , T > + Unpin ,
44
+ E : Http2ClientConnExec < B , T > + Unpin ,
45
45
B :: Error : Into < Box < dyn Error + Send + Sync > > ,
46
46
{
47
47
inner : ( PhantomData < T > , proto:: h2:: ClientTask < B , E , T > ) ,
73
73
B : Body + ' static ,
74
74
B :: Data : Send ,
75
75
B :: Error : Into < Box < dyn Error + Send + Sync > > ,
76
- E : ExecutorClient < B , T > + Unpin + Clone ,
76
+ E : Http2ClientConnExec < B , T > + Unpin + Clone ,
77
77
{
78
78
Builder :: new ( exec) . handshake ( io) . await
79
79
}
@@ -202,7 +202,7 @@ where
202
202
B : Body + Unpin + ' static ,
203
203
B :: Data : Send ,
204
204
B :: Error : Into < Box < dyn Error + Send + Sync > > ,
205
- E : ExecutorClient < B , T > + Unpin ,
205
+ E : Http2ClientConnExec < B , T > + Unpin ,
206
206
{
207
207
/// Returns whether the [extended CONNECT protocol][1] is enabled or not.
208
208
///
@@ -222,7 +222,7 @@ impl<T, B, E> fmt::Debug for Connection<T, B, E>
222
222
where
223
223
T : Read + Write + fmt:: Debug + ' static + Unpin ,
224
224
B : Body + ' static ,
225
- E : ExecutorClient < B , T > + Unpin ,
225
+ E : Http2ClientConnExec < B , T > + Unpin ,
226
226
B :: Error : Into < Box < dyn Error + Send + Sync > > ,
227
227
{
228
228
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
@@ -237,7 +237,7 @@ where
237
237
B :: Data : Send ,
238
238
E : Unpin ,
239
239
B :: Error : Into < Box < dyn Error + Send + Sync > > ,
240
- E : ExecutorClient < B , T > + ' static + Send + Sync + Unpin ,
240
+ E : Http2ClientConnExec < B , T > + ' static + Send + Sync + Unpin ,
241
241
{
242
242
type Output = crate :: Result < ( ) > ;
243
243
@@ -407,7 +407,7 @@ where
407
407
B : Body + ' static ,
408
408
B :: Data : Send ,
409
409
B :: Error : Into < Box < dyn Error + Send + Sync > > ,
410
- Ex : ExecutorClient < B , T > + Unpin ,
410
+ Ex : Http2ClientConnExec < B , T > + Unpin ,
411
411
{
412
412
let opts = self . clone ( ) ;
413
413
0 commit comments