[][src]Function capnp_futures::write_queue

pub fn write_queue<W, M>(
    writer: W
) -> (Sender<M>, impl Future<Output = Result<(), Error>> + 'static) where
    W: AsyncWrite + Unpin + 'static,
    M: AsOutputSegments + 'static, 

Creates a new WriteQueue that wraps the given writer.