Trait pueue_lib::network::protocol::Stream[][src]

pub trait Stream: Read + Write + Unpin + Send { }
Expand description

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.

Implementations on Foreign Types

impl Stream for UnixStream[src]

impl Stream for TlsStream<TcpStream>[src]

impl Stream for TlsStream<TcpStream>[src]

Implementors