pub trait DecodeWithMemLimit: DecodeWithMemTracking {
// Required method
fn decode_with_mem_limit<I: Input>(
input: &mut I,
mem_limit: usize,
) -> Result<Self, Error>;
}Expand description
Extension trait to Decode for decoding with a maximum memory limit.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".