Expand description
The Duplex
trait: interactive streams
Traits§
- Duplex
- A trait which indicates a type represents a duplex communication channel, meaning it’s bidirectional and may be used in an interactive manner.
- Full
Duplex - A combination of
AsyncRead
andAsyncWrite
intended for use in interactive I/O (as opposed to normal file I/O). - Half
Duplex - A combination of
std::io::Read
andstd::io::Write
intended for use in interactive I/O (as opposed to normal file I/O). - Tokio
Full Duplex - A combination of
tokio::io::AsyncRead
andtokio::io::AsyncWrite
intended for use in interactive I/O (as opposed to normal file I/O).