pub async fn write_object<W: AsyncWrite + Send + Unpin, O: Serialize, const MAX_SIZE: usize>( writer: &mut W, object: &O, ) -> Result<()>