pub enum LimitKind {
MessageBytes,
PayloadBytes,
Records,
AllocationBytes,
}Expand description
Decoder resource limit that was exceeded.
Variants§
MessageBytes
Complete encoded message size.
PayloadBytes
Opaque payload size.
Records
Protocol record count.
AllocationBytes
Aggregate protocol allocation.
Trait Implementations§
impl Copy for LimitKind
impl Eq for LimitKind
impl StructuralPartialEq for LimitKind
Auto Trait Implementations§
impl Freeze 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