pub fn serialized_size<T>(value: &T) -> Result<usize>where
    T: Serialize + ?Sized,
Expand description

Compute the size of the postcard serialization of T.