pub enum CheckStatus {
Passed,
Failed,
TimedOut,
Skipped,
Error,
}Expand description
Outcome of one check.
Variants§
Passed
Exited 0.
Failed
Exited non-zero.
TimedOut
Killed at its deadline.
Skipped
Not applicable (its when_exists path is absent); not evidence of anything.
Error
Could not be run at all (e.g. command not found).
Implementations§
Source§impl CheckStatus
impl CheckStatus
Sourcepub const fn is_failure(self) -> bool
pub const fn is_failure(self) -> bool
Whether the check counts against verification.
Trait Implementations§
Source§impl Clone for CheckStatus
impl Clone for CheckStatus
impl Copy for CheckStatus
Source§impl Debug for CheckStatus
impl Debug for CheckStatus
Source§impl<'de> Deserialize<'de> for CheckStatus
impl<'de> Deserialize<'de> for CheckStatus
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 CheckStatus
Source§impl JsonSchema for CheckStatus
impl JsonSchema for CheckStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CheckStatus
impl PartialEq for CheckStatus
Source§impl Serialize for CheckStatus
impl Serialize for CheckStatus
impl StructuralPartialEq for CheckStatus
Auto Trait Implementations§
impl Freeze for CheckStatus
impl RefUnwindSafe for CheckStatus
impl Send for CheckStatus
impl Sync for CheckStatus
impl Unpin for CheckStatus
impl UnsafeUnpin for CheckStatus
impl UnwindSafe for CheckStatus
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