Function write_buf

Source
pub async fn write_buf<W: AsyncWrite + Send + Unpin, const MAX_SIZE: usize>(
    writer: &mut W,
    data_buf: &[u8],
) -> Result<()>