Skip to main content

ByteTransport

Trait ByteTransport 

Source
pub trait ByteTransport:
    AsyncRead
    + AsyncWrite
    + Unpin
    + Send
    + 'static { }
Expand description

Owned transport; reader and writer progress independently after splitting.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: AsyncRead + AsyncWrite + Unpin + Send + 'static> ByteTransport for T