pub enum LimitExceeded {
Turns {
current: u32,
max: u32,
},
Entries {
current: usize,
max: usize,
},
Duration {
current: Duration,
max: Duration,
},
}Expand description
Which limit was exceeded.
Variants§
Trait Implementations§
Source§impl Clone for LimitExceeded
impl Clone for LimitExceeded
Source§fn clone(&self) -> LimitExceeded
fn clone(&self) -> LimitExceeded
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LimitExceeded
impl Debug for LimitExceeded
Source§impl PartialEq for LimitExceeded
impl PartialEq for LimitExceeded
impl Eq 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 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