Skip to main content

write_frame

Function write_frame 

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

Back-compat wrapper for callers still on std::io::Result.