Trait IOStream

Source
pub trait IOStream:
    AsyncRead
    + AsyncWrite
    + Unpin { }
Expand description

General trait which implementing type represents something where we can both write to or read from

Implementors§

Source§

impl<T> IOStream for T
where T: AsyncRead + AsyncWrite + Unpin,

Auto-impl for types that satisfies the trait IOStream requirements (AsyncRead and AsyncWrite)