Function tokio_io_utility::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<()>
Available on crate feature
bytes
only.Expand description
buffer
- must not contain emptyBytes
s.