tokio::io

Function join

Source
pub fn join<R, W>(reader: R, writer: W) -> Join<R, W>
where R: AsyncRead, W: AsyncWrite,
Available on crate feature io-util only.
Expand description

Join two values implementing AsyncRead and AsyncWrite into a single handle.