Trait tls_api::AsyncSocket[][src]

pub trait AsyncSocket: AsyncRead + AsyncWrite + Debug + Unpin + Send + 'static { }

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[src]

Auto-implement for all socket types.

Loading content...