pub(crate) fn serialized_size<T, O: InternalOptions>(
    value: &T,
    options: O
) -> Result<u64>where
    T: Serialize + ?Sized,