Skip to main content

ChargedBytesFn

Type Alias ChargedBytesFn 

Source
pub type ChargedBytesFn = fn(&(dyn Any + 'static)) -> usize;
Expand description

Per-type charged-bytes resolver. Takes the carrier’s erased &dyn Any and returns the byte count.