Expand description
A collection of traits and implementations for synchronous streams.
Re-exports§
pub use super::ReadWritePair;pub use super::Stream;
Structs§
Enums§
- Shutdown
- Possible values which can be passed to the
TcpStream::shutdownmethod.
Traits§
- AsTcp
Stream - The ability access a borrow to an underlying TcpStream,
so one can set options on the stream such as
nonblocking. - Network
Stream - a
Streamthat can also be used as a borrow to aTcpStreamthis is useful when you want to setTcpStreamoptions on aStreamlikenonblocking. - Splittable
- some streams can be split up into separate reading and writing components
TcpStreamis an example. This trait marks this ability so one can split up the client into two parts.