pub fn serialized_size<T>(value: &T) -> Result<u64>where T: Serialize + ?Sized,
Returns the size that an object would be if serialized using Bincode with the default configuration.