Trait duplex::TokioFullDuplex
source · pub trait TokioFullDuplex: Duplex + AsyncRead + AsyncWrite { }
Expand description
A combination of tokio::io::AsyncRead
and tokio::io::AsyncWrite
intended for use in interactive I/O (as opposed to normal file I/O).
This is the same as FullDuplex
except using tokio’s AsyncRead
and
AsyncWrite
traits in place of futures-io’s.