Expand description
A collection of traits and implementations for synchronous streams.
Re-exports§
pub use super::ReadWritePair;
pub use super::Stream;
Structs§
- A TCP stream between a local and a remote socket.
- A stream managing a TLS session.
Enums§
- Possible values which can be passed to the
TcpStream::shutdown
method.
Traits§
- The ability access a borrow to an underlying TcpStream, so one can set options on the stream such as
nonblocking
. - a
Stream
that can also be used as a borrow to aTcpStream
this is useful when you want to setTcpStream
options on aStream
likenonblocking
. - some streams can be split up into separate reading and writing components
TcpStream
is an example. This trait marks this ability so one can split up the client into two parts.