#[non_exhaustive]pub enum BudgetExceeded {
Steps {
limit: u64,
},
Depth {
limit: usize,
},
Total {
limit: u64,
},
}Expand description
Which limit stopped an evaluation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Steps
One rule on one instance took more steps than allowed.
Depth
Function calls and derived attributes nested deeper than allowed.
Total
The whole run took more steps than allowed; the remaining rules were not evaluated.
Trait Implementations§
Source§impl Clone for BudgetExceeded
impl Clone for BudgetExceeded
Source§fn clone(&self) -> BudgetExceeded
fn clone(&self) -> BudgetExceeded
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BudgetExceeded
Source§impl Debug for BudgetExceeded
impl Debug for BudgetExceeded
Source§impl Display for BudgetExceeded
impl Display for BudgetExceeded
impl Eq for BudgetExceeded
Source§impl PartialEq for BudgetExceeded
impl PartialEq for BudgetExceeded
impl StructuralPartialEq for BudgetExceeded
Auto Trait Implementations§
impl Freeze for BudgetExceeded
impl RefUnwindSafe for BudgetExceeded
impl Send for BudgetExceeded
impl Sync for BudgetExceeded
impl Unpin for BudgetExceeded
impl UnsafeUnpin for BudgetExceeded
impl UnwindSafe for BudgetExceeded
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