Trait tls_api::AsyncSocket
source · [−]pub trait AsyncSocket: AsyncRead + AsyncWrite + Debug + Unpin + Send + 'static { }
Expand description
Type alias for necessary socket async traits.
Type alias exists to avoid repetition of traits in function signatures.
This type cannot be implemented directly, and there’s no need to.
Implementors
impl<A: AsyncRead + AsyncWrite + Debug + Unpin + Send + 'static> AsyncSocket for A
Auto-implement for all socket types.