#[non_exhaustive]pub enum NotEvaluated {
Unsupported {
construct: String,
},
BudgetExceeded(BudgetExceeded),
InvalidData {
detail: String,
},
}Expand description
Why a rule was not evaluated.
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.
Unsupported
The rule needs something this evaluator does not implement; the construct or function is named.
BudgetExceeded(BudgetExceeded)
A limit stopped evaluation.
InvalidData
The file’s data has a shape the rule cannot read, e.g. a string where the rule compares numbers.
Trait Implementations§
Source§impl Clone for NotEvaluated
impl Clone for NotEvaluated
Source§fn clone(&self) -> NotEvaluated
fn clone(&self) -> NotEvaluated
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 moreSource§impl Debug for NotEvaluated
impl Debug for NotEvaluated
Source§impl Display for NotEvaluated
impl Display for NotEvaluated
impl Eq for NotEvaluated
Source§impl PartialEq for NotEvaluated
impl PartialEq for NotEvaluated
impl StructuralPartialEq for NotEvaluated
Auto Trait Implementations§
impl Freeze for NotEvaluated
impl RefUnwindSafe for NotEvaluated
impl Send for NotEvaluated
impl Sync for NotEvaluated
impl Unpin for NotEvaluated
impl UnsafeUnpin for NotEvaluated
impl UnwindSafe for NotEvaluated
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