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