Skip to main content

write_frame

Function write_frame 

Source
pub async fn write_frame<W, P>(writer: &mut W, frame: &Frame<P>) -> Result<()>
where W: AsyncWrite + Unpin, P: Serialize,
Expand description

Write one frame as a single line and flush.