get_serialized_size

Function get_serialized_size 

Source
pub fn get_serialized_size<T: Serialize>(index: &T) -> Result<usize>
Expand description

Get the size of a serialized index without saving to disk

Useful for estimating storage requirements.