Crate duplex

Source
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.
FullDuplex
A combination of AsyncRead and AsyncWrite intended for use in interactive I/O (as opposed to normal file I/O).
HalfDuplex
A combination of std::io::Read and std::io::Write intended for use in interactive I/O (as opposed to normal file I/O).
TokioFullDuplex
A combination of tokio::io::AsyncRead and tokio::io::AsyncWrite intended for use in interactive I/O (as opposed to normal file I/O).