pub enum Limit {
Depth,
Objects,
Revisions,
Decoded,
}Expand description
Caller-selected mechanism limit, separate from malformed syntax.
Variants§
Depth
Container or resolution nesting limit.
Objects
Cumulative original and decoded object count.
Revisions
Cumulative revision count.
Decoded
Cumulative decoded output allowance.
Trait Implementations§
impl Copy for Limit
impl Eq for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnsafeUnpin for Limit
impl UnwindSafe for Limit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more