Skip to main content

write_frame

Function write_frame 

Source
pub async fn write_frame<W>(w: &mut W, data: &[u8]) -> Result<()>
where W: AsyncWrite + Unpin,
Expand description

Length-prefixed (u32 LE) framing for the pool Unix-socket protocol.