Struct Limits
pub struct Limits { pub bytes: usize }
Limits on the resources the Decoder is allowed too use
Fields
bytes: usizemaximum number of bytes the decoder is allowed to allocate, default is 64Mib
Trait Implementations
impl Clone for Limits
fn clone(&self) -> Self
impl Copy for Limits
impl Debug for Limits
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for Limits
fn default() -> Limits