Skip to main content

write_message

Function write_message 

Source
pub async fn write_message<W, T>(writer: &mut W, msg: &T) -> Result<()>
where W: AsyncWrite + Unpin, T: Serialize,
Expand description

Write a length-prefixed CBOR message to an async writer.