#[non_exhaustive]pub enum Validation {
Valid,
Invalid(Failure),
Unsupported(String),
}Expand description
The validator’s verdict.
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.
Valid
Every check passed: the trace is a behavior of the specification and ends as claimed.
Invalid(Failure)
A check failed.
Unsupported(String)
Every check that could be made passed, but part of the claim cannot be checked independently. The text names it. Never a verdict.
Implementations§
Trait Implementations§
Source§impl Clone for Validation
impl Clone for Validation
Source§impl Debug for Validation
impl Debug for Validation
impl Eq for Validation
Source§impl PartialEq for Validation
impl PartialEq for Validation
impl StructuralPartialEq for Validation
Auto Trait Implementations§
impl Forget for Validation
impl Freeze for Validation
impl Move for Validation
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnsafeUnpin for Validation
impl UnwindSafe for Validation
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