pub trait Stream: AsyncRead + AsyncWrite { }
Expand description

A stream that can be read from and written to asynchronously. This let’s us abstract over many async streams like tcp, ssl, udp, ssh, etc.

Implementors§

source§

impl<S> Stream for S
where S: AsyncRead + AsyncWrite,