pub type ChargedBytesFn = fn(&(dyn Any + 'static)) -> usize;
Per-type charged-bytes resolver. Takes the carrier’s erased &dyn Any and returns the byte count.
&dyn Any