Stream

Trait Stream 

Source
pub trait Stream:
    AsyncRead
    + AsyncWrite
    + Unpin
    + Send { }

Implementations on Foreign Types§

Source§

impl Stream for TlsStream<TcpStream>

Source§

impl Stream for TlsStream<TcpStream>

Source§

impl Stream for UnixStream

A new trait, which can be used to represent Unix- and Tls encrypted TcpStreams.
This is necessary to write generic functions where both types can be used.

Implementors§