pub struct LimitExceeded {
pub kind: LimitKind,
pub limit: u64,
pub actual: u64,
}Expand description
Details of a resource-limit failure.
Fields§
§kind: LimitKindResource that exceeded its limit.
limit: u64Configured inclusive maximum.
actual: u64Input-derived value that exceeded the maximum.
Trait Implementations§
Source§impl Clone for LimitExceeded
impl Clone for LimitExceeded
impl Copy for LimitExceeded
Source§impl Debug for LimitExceeded
impl Debug for LimitExceeded
Source§impl Display for LimitExceeded
impl Display for LimitExceeded
impl Eq for LimitExceeded
Source§impl From<LimitExceeded> for DecodeError
impl From<LimitExceeded> for DecodeError
Source§fn from(error: LimitExceeded) -> Self
fn from(error: LimitExceeded) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LimitExceeded
impl PartialEq for LimitExceeded
impl StructuralPartialEq for LimitExceeded
Auto Trait Implementations§
impl Freeze for LimitExceeded
impl RefUnwindSafe for LimitExceeded
impl Send for LimitExceeded
impl Sync for LimitExceeded
impl Unpin for LimitExceeded
impl UnsafeUnpin for LimitExceeded
impl UnwindSafe for LimitExceeded
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