rama::net::stream

Trait Stream

pub trait Stream:
    AsyncRead
    + AsyncWrite
    + Send
    + 'static { }
Expand description

A stream is a type that implements AsyncRead, AsyncWrite and Send. This is specific to Rama and is directly linked to the supertraits of Tokio.

Implementors§

§

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