pub(crate) fn write_buf<'a, W, B>( writer: &'a mut W, buf: &'a mut B, ) -> WriteBuf<'a, W, B> ⓘwhere W: AsyncWrite + Unpin, B: Buf,
Tries to write some bytes from the given buf to the writer in an asynchronous manner, returning a future.
buf