Skip to main content

AsyncSocket

Trait AsyncSocket 

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> AsyncSocket for T
where T: AsyncRead + AsyncWrite + Unpin + Send + 'static,