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,
{
    WriteBuf { writer, buf }
}
/// Tries to write some bytes from the given `buf` to the writer in an
/// asynchronous manner, returning a future.
Tries to write some bytes from the given `buf` to the writer in an
asynchronous manner, returning a future.
Tries to write some bytes from the given ` buf ` to the writer in an asynchronous manner returning a future .
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,
{
    WriteBuf { writer, buf }
}
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 , { WriteBuf { writer , buf } }
Tries to write some bytes from the given `buf` to the writer in an
asynchronous manner, returning a future.
Tries to write some bytes from the given ` buf ` to the writer in an asynchronous manner returning a future .
writer
&'a mut W
buf
&'a mut B
writer
&'a mut W
buf
&'a mut B