pub async fn write_frame<T>( writer: &mut (impl AsyncWrite + Unpin), value: &T, ) -> Result<()>where T: Serialize,
Writes one bounded length-prefixed JSON value.