Skip to main content

binary_size

Function binary_size 

Source
pub fn binary_size<T: Serialize + ?Sized>(value: &T) -> usize
Expand description

Return the binary-encoded size for one value, saturating to usize.