Skip to main content

write_msg

Function write_msg 

Source
pub async fn write_msg<W: AsyncWriteExt + Unpin>(
    writer: &mut W,
    msg: &impl Serialize,
) -> Result<()>