Function capnp::serialize_packed::write_message
source · pub fn write_message<W, A>(write: W, message: &Builder<A>) -> Result<()>
Expand description
Writes a packed message to a stream.
The only source of errors from this function are write.write_all()
calls. If you pass in
a writer that never returns an error, then this function will never return an error.