#[non_exhaustive]pub enum Support {
Implemented,
Unsupported(&'static str),
}Expand description
Whether this validator evaluates a given rule.
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.
Implemented
Implemented and evaluated on every run.
Unsupported(&'static str)
Declared by the schema, not evaluated here.
Carries why, so the report can say something better than “no”.
Trait Implementations§
impl Copy for Support
impl Eq for Support
impl StructuralPartialEq for Support
Auto Trait Implementations§
impl Freeze for Support
impl RefUnwindSafe for Support
impl Send for Support
impl Sync for Support
impl Unpin for Support
impl UnsafeUnpin for Support
impl UnwindSafe for Support
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