pub enum LimitKind {
Bytes,
Allocation,
Nodes,
Depth,
Output,
Scratch,
Field,
}Expand description
The first allowance that refused an operation.
Variants§
Bytes
Complete encoded or supplied input bytes.
Allocation
Conservative traversal allocation allowance.
Nodes
Value and seed visits.
Depth
Nested traversal depth.
Output
Caller-provided destination capacity.
Scratch
Caller-provided temporary storage for preparing extensions.
Field
Declared field bound in a fallible constructor.
Trait Implementations§
impl Copy for LimitKind
impl Eq for LimitKind
impl StructuralPartialEq for LimitKind
Auto Trait Implementations§
impl Forget for LimitKind
impl Freeze for LimitKind
impl Move for LimitKind
impl RefUnwindSafe for LimitKind
impl Send for LimitKind
impl Sync for LimitKind
impl Unpin for LimitKind
impl UnsafeUnpin for LimitKind
impl UnwindSafe for LimitKind
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