pub enum ValidationResult {
Pass,
Fail(String),
Skipped(String),
}Expand description
The result of correctness validation for a kernel execution.
Variants§
Pass
The kernel passed the correctness test
Fail(String)
The kernel failed the correctness test
Skipped(String)
The correctness test could not determine pass/fail
Implementations§
Source§impl ValidationResult
impl ValidationResult
Sourcepub fn as_test_outcome(self) -> TestOutcome
pub fn as_test_outcome(self) -> TestOutcome
Convert a ValidationResult into a TestOutcome.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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