pub struct CheckOutcome {
pub result: CheckResult,
pub exit_code: Option<i32>,
pub duration_ms: u64,
pub resource_limit: Option<String>,
pub output_tail: String,
pub output_log: Option<PathBuf>,
pub error: Option<String>,
pub containment: String,
}Expand description
What one check did.
Fields§
§result: CheckResult§exit_code: Option<i32>The command’s exit code. None when it timed out or never ran.
duration_ms: u64From the start of the command to its exit or kill; 0 when it never started.
resource_limit: Option<String>The host resource limit that killed the command, as the shell tool names it.
output_tail: StringThe last CHECK_OUTPUT_TAIL_BYTES bytes of stdout followed by stderr.
output_log: Option<PathBuf>The full captured output, CHECK_LOG_FILE in the session’s records directory. None
when the command produced no result to write.
error: Option<String>Why the result is CheckResult::Error, or what went wrong around a result.
containment: StringThe containment class the session’s session_start recorded as achieved, which the check
ran under.
Trait Implementations§
Source§impl Clone for CheckOutcome
impl Clone for CheckOutcome
Source§impl Debug for CheckOutcome
impl Debug for CheckOutcome
Source§impl<'de> Deserialize<'de> for CheckOutcome
impl<'de> Deserialize<'de> for CheckOutcome
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 CheckOutcome
Source§impl PartialEq for CheckOutcome
impl PartialEq for CheckOutcome
Source§impl Serialize for CheckOutcome
impl Serialize for CheckOutcome
impl StructuralPartialEq for CheckOutcome
Auto Trait Implementations§
impl Forget for CheckOutcome
impl Freeze for CheckOutcome
impl Move for CheckOutcome
impl RefUnwindSafe for CheckOutcome
impl Send for CheckOutcome
impl Sync for CheckOutcome
impl Unpin for CheckOutcome
impl UnsafeUnpin for CheckOutcome
impl UnwindSafe for CheckOutcome
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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