pub struct Probe {
pub ok: bool,
pub exit_code: Option<i32>,
pub output: String,
pub took: Duration,
}Expand description
The outcome of one health probe.
Fields§
§ok: bool§exit_code: Option<i32>Exit code, or None when it could not run or timed out.
output: StringThe tail of its output, for status displays.
took: DurationTrait Implementations§
impl StructuralPartialEq for Probe
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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