ConnectExecutor

Trait ConnectExecutor 

Source
pub trait ConnectExecutor<T, B>: TypedExecutor<Background<T, B>>
where T: AsyncRead + AsyncWrite + Send + 'static, B: HttpBody + Send + 'static, B::Data: Send, B::Error: Into<Box<dyn Error + Send + Sync>>,
{ }
Expand description

Executor that will spawn the background connection task.

Implementors§

Source§

impl<E, T, B> ConnectExecutor<T, B> for E
where T: AsyncRead + AsyncWrite + Send + 'static, B: HttpBody + Send + 'static, B::Data: Send, B::Error: Into<Box<dyn Error + Send + Sync>>, E: TypedExecutor<Background<T, B>>,