pub enum TestStatus {
Passed,
Failed,
Error,
}Expand description
Verdict of one test.
Variants§
Passed
Every gating assertion passed (or the weighted score reached the threshold).
Failed
The run finished but assertions failed.
Error
The run did not succeed (failed, aborted, paused or timed out).
Trait Implementations§
Source§impl Clone for TestStatus
impl Clone for TestStatus
impl Copy for TestStatus
Source§impl Debug for TestStatus
impl Debug for TestStatus
Source§impl<'de> Deserialize<'de> for TestStatus
impl<'de> Deserialize<'de> for TestStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TestStatus
Source§impl PartialEq for TestStatus
impl PartialEq for TestStatus
Source§impl Serialize for TestStatus
impl Serialize for TestStatus
impl StructuralPartialEq for TestStatus
Auto Trait Implementations§
impl Forget for TestStatus
impl Freeze for TestStatus
impl Move for TestStatus
impl RefUnwindSafe for TestStatus
impl Send for TestStatus
impl Sync for TestStatus
impl Unpin for TestStatus
impl UnsafeUnpin for TestStatus
impl UnwindSafe for TestStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.