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

Obtain the serialized size without allocating Vec<u8>