Trait hyper::rt::bounds::Http2ClientConnExec

source ·
pub trait Http2ClientConnExec<B, T>: Sealed<(B, T)>
where B: Body, B::Error: Into<Box<dyn Error + Send + Sync>>, T: Read + Write + Unpin,
{ }
Expand description

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§

source§

impl<E, B, T> Http2ClientConnExec<B, T> for E
where E: Executor<H2ClientFuture<B, T>>, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>, H2ClientFuture<B, T>: Future<Output = ()>, T: Read + Write + Unpin,