pub fn measure_snapshot_bounded<S: Copy, E: Copy>(
snapshot: S,
max_len: usize,
error: E,
encode: for<'encoder> fn(S, &mut SnapshotEncoder<'encoder, E>) -> Result<(), E>,
) -> Result<usize, E>Expand description
Measures one immutable snapshot under an aggregate byte cap.