Function tokio_pipe::splice

source ยท
pub async fn splice(
    pipe_in: &mut PipeRead,
    pipe_out: &mut PipeWrite,
    len: usize,
) -> Result<usize>
Expand description

Moves data between pipes without copying between kernel address space and user address space.

It transfers up to len bytes of data from pipe_in to pipe_out.