pub enum ProcessedTestStatus {
EndedByAction(EndThisTestAction),
Criterion(RuntimeCriterion),
Eval(SingleEvaluationError),
JustFailTestRun(JustFailTestRunError),
}Variants§
EndedByAction(EndThisTestAction)
Criterion(RuntimeCriterion)
Eval(SingleEvaluationError)
JustFailTestRun(JustFailTestRunError)
Implementations§
Source§impl ProcessedTestStatus
impl ProcessedTestStatus
pub fn is_successful(&self) -> bool
pub fn maybe_overwrite_with_signal( &mut self, log_pfx: &LogPfx, signal: Option<EvalSignal>, ) -> &mut Self
Sourcepub fn proceedable(&self) -> bool
pub fn proceedable(&self) -> bool
If the test can be proceeded in other ways by e. g. running alternative tests. If this is false, the test has an explicit result and shouldn’t be processed further.
Trait Implementations§
Source§impl Clone for ProcessedTestStatus
impl Clone for ProcessedTestStatus
Source§fn clone(&self) -> ProcessedTestStatus
fn clone(&self) -> ProcessedTestStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessedTestStatus
impl Debug for ProcessedTestStatus
Source§impl<'de> Deserialize<'de> for ProcessedTestStatus
impl<'de> Deserialize<'de> for ProcessedTestStatus
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
Source§impl From<EndThisTestAction> for ProcessedTestStatus
impl From<EndThisTestAction> for ProcessedTestStatus
Source§fn from(value: EndThisTestAction) -> Self
fn from(value: EndThisTestAction) -> Self
Converts to this type from the input type.
Source§impl From<JustFailTestRunError> for ProcessedTestStatus
impl From<JustFailTestRunError> for ProcessedTestStatus
Source§fn from(value: JustFailTestRunError) -> Self
fn from(value: JustFailTestRunError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeCriterion> for ProcessedTestStatus
impl From<RuntimeCriterion> for ProcessedTestStatus
Source§fn from(value: RuntimeCriterion) -> Self
fn from(value: RuntimeCriterion) -> Self
Converts to this type from the input type.
Source§impl From<SingleEvaluationError> for ProcessedTestStatus
impl From<SingleEvaluationError> for ProcessedTestStatus
Source§fn from(value: SingleEvaluationError) -> Self
fn from(value: SingleEvaluationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProcessedTestStatus
impl PartialEq for ProcessedTestStatus
Source§fn eq(&self, other: &ProcessedTestStatus) -> bool
fn eq(&self, other: &ProcessedTestStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProcessedTestStatus
impl PartialOrd for ProcessedTestStatus
Source§impl Serialize for ProcessedTestStatus
impl Serialize for ProcessedTestStatus
impl StructuralPartialEq for ProcessedTestStatus
Auto Trait Implementations§
impl Freeze for ProcessedTestStatus
impl RefUnwindSafe for ProcessedTestStatus
impl Send for ProcessedTestStatus
impl Sync for ProcessedTestStatus
impl Unpin for ProcessedTestStatus
impl UnsafeUnpin for ProcessedTestStatus
impl UnwindSafe for ProcessedTestStatus
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more