[][src]Function capnp_futures::write_queue

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

Creates a new WriteQueue that wraps the given writer.