pub async fn write_frame<W>(w: &mut W, data: &[u8]) -> Result<()>where W: AsyncWrite + Unpin,
Length-prefixed (u32 LE) framing for the pool Unix-socket protocol.