Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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>>,