Function bincode::serialized_size [−][src]
pub fn serialized_size<T: ?Sized>(value: &T) -> Result<u64> where
T: Serialize,
Expand description
Returns the size that an object would be if serialized using Bincode with the default configuration.
Warning: the default configuration used by this function is not
the same as that used by the DefaultOptions
struct. See the
config
module for more details