Skip to main content

NetworkStream

Trait NetworkStream 

Source
pub trait NetworkStream:
    AsyncRead
    + AsyncWrite
    + Connection
    + Unpin
    + Send
    + Sync
    + 'static { }

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> NetworkStream for T
where T: AsyncRead + AsyncWrite + Connection + Unpin + Send + Sync + 'static,