#[non_exhaustive]pub enum Progress<S, F, E> {
Running(S),
Passed(S, F),
Failed(S, E),
Skipped(S, F),
}Expand description
Where a step of a self-test stands.
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.
Running(S)
It started.
Passed(S, F)
It passed, having found F.
Failed(S, E)
It failed: why.
Skipped(S, F)
It was skipped: why.
Trait Implementations§
impl<S: Eq, F: Eq, E: Eq> Eq for Progress<S, F, E>
impl<S: PartialEq, F: PartialEq, E: PartialEq> StructuralPartialEq for Progress<S, F, E>
Auto Trait Implementations§
impl<S, F, E> Forget for Progress<S, F, E>
impl<S, F, E> Freeze for Progress<S, F, E>
impl<S, F, E> Move for Progress<S, F, E>
impl<S, F, E> RefUnwindSafe for Progress<S, F, E>
impl<S, F, E> Send for Progress<S, F, E>
impl<S, F, E> Sync for Progress<S, F, E>
impl<S, F, E> Unpin for Progress<S, F, E>
impl<S, F, E> UnsafeUnpin for Progress<S, F, E>
impl<S, F, E> UnwindSafe for Progress<S, F, E>
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.