Skip to main content

serialized_size

Function serialized_size 

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

Returns the size that an object would be if serialized using Bincode with the default configuration.