pub fn serialized_size_bytes<T: Serialize>(obj: &T) -> usize
The number of bytes for an object serialized to bincode.