pub trait DecodeWithMemTracking: Decode { }
Expand description
Marker trait used for identifying types that call the Input::on_before_alloc_mem
hook
while decoding.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.