tokio_io_utility

Function write_all_bytes

Source
pub async fn write_all_bytes(
    writer: Pin<&mut (dyn AsyncWrite + Send)>,
    buffer: &mut Vec<Bytes>,
    reusable_io_slices: &mut ReusableIoSlices,
) -> Result<()>
Expand description
  • buffer - must not contain empty Bytess.