Function capnp_futures::serialize_packed::write_message
source · pub async fn write_message<W, M>(writer: W, message: M) -> Result<()>where
W: AsyncWrite + Unpin,
M: AsOutputSegments,
Expand description
Writes the provided message to writer
. Does not call writer.flush()
,
so that multiple successive calls can amortize work when writer
is
buffered.