#[non_exhaustive]pub enum Failure {
Said(String),
Runner(Box<ErrorReport>),
Foreign {
hypervisor: &'static str,
},
NoTestBox {
hypervisor: &'static str,
arch: Arch,
},
NoReply {
address: &'static str,
last: String,
},
}Expand description
Why a step failed.
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.
Said(String)
What the tool said.
Runner(Box<ErrorReport>)
The runner’s refusal or failure, as it reports it.
Foreign
A VM of the test’s name that isn’t the test’s is on hypervisor: left alone.
NoTestBox
No box exists for hypervisor on this computer’s CPU (arch): the test has nothing to
boot. Hyper-V on Arm, until a box of ours is published.
NoReply
The VM never answered a ping at address; the last answer.
Trait Implementations§
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Forget for Failure
impl Freeze for Failurewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ErrorReport is !null: Freeze,
PhantomData<ErrorReport>: Freeze,
&'static str: Freeze,
impl Move for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failurewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ErrorReport is !null: UnsafeUnpin,
PhantomData<ErrorReport>: UnsafeUnpin,
&'static str: UnsafeUnpin,
impl UnwindSafe for Failure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.