Crate duplex

source ·
Expand description

The Duplex trait: interactive streams

Traits

A trait which indicates a type represents a duplex communication channel, meaning it’s bidirectional and may be used in an interactive manner.
A combination of AsyncRead and AsyncWrite intended for use in interactive I/O (as opposed to normal file I/O).
A combination of std::io::Read and std::io::Write intended for use in interactive I/O (as opposed to normal file I/O).
A combination of tokio::io::AsyncRead and tokio::io::AsyncWrite intended for use in interactive I/O (as opposed to normal file I/O).