pub struct ReadinessOutcome {
pub status: ReadinessStatus,
pub ready: bool,
pub satisfied: Vec<String>,
pub failed: Vec<String>,
pub skipped: Vec<String>,
pub pending: Vec<String>,
pub evidence: Vec<CheckRecord>,
pub elapsed_ms: u128,
pub timeout_ms: u128,
}Expand description
The outcome of a readiness wait, with the evidence behind it.
Fields§
§status: ReadinessStatusHow the wait ended.
ready: boolWhether every check was satisfied.
satisfied: Vec<String>Names of satisfied checks.
failed: Vec<String>Names of checks that reported “not satisfied”.
skipped: Vec<String>Names of checks that could not run.
pending: Vec<String>Names of checks that never started because the budget ran out.
evidence: Vec<CheckRecord>Evidence for every check that ran.
elapsed_ms: u128Total milliseconds spent.
timeout_ms: u128The budget the wait was given.
Implementations§
Source§impl ReadinessOutcome
impl ReadinessOutcome
Trait Implementations§
Source§impl Clone for ReadinessOutcome
impl Clone for ReadinessOutcome
Source§fn clone(&self) -> ReadinessOutcome
fn clone(&self) -> ReadinessOutcome
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 ReadinessOutcome
impl Debug for ReadinessOutcome
Source§impl Default for ReadinessOutcome
impl Default for ReadinessOutcome
Source§fn default() -> ReadinessOutcome
fn default() -> ReadinessOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReadinessOutcome
impl RefUnwindSafe for ReadinessOutcome
impl Send for ReadinessOutcome
impl Sync for ReadinessOutcome
impl Unpin for ReadinessOutcome
impl UnsafeUnpin for ReadinessOutcome
impl UnwindSafe for ReadinessOutcome
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