[−][src]Function muoxi_staging::copyover::copy
ⓘImportant traits for CopyOver<'_, R, W>
pub fn copy<'a, R: ?Sized, W: ?Sized>(
reader: &'a mut R,
writer: &'a mut W,
from: &'a SocketAddr,
to: &'a SocketAddr
) -> CopyOver<'a, R, W> where
R: AsyncRead + Unpin,
W: AsyncWrite + Unpin,
do the actual async copy from read to write