Trait Http2ClientConnExec
pub trait Http2ClientConnExec<B, T>: Http2UpgradedExec<B::Data> + Sealed<(B, T)> + Clone
where
B: Body,
B::Error: Into<Box<dyn Error + Send + Sync>>,
T: Read + Write + Unpin,
An executor to spawn http2 futures for the client.
This trait is implemented for any type that implements Executor
trait for any future.
This trait is sealed and cannot be implemented for types outside this crate.
Implementors
impl<E, B, T> Http2ClientConnExec<B, T> for E where E: Clone + Executor<H2ClientFuture<B, T, E>> + Http2UpgradedExec<B::Data>, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>, H2ClientFuture<B, T, E>: Future<Output = ()>, T: Read + Write + Unpin,