pub struct Status {
pub phase: Phase,
pub pid: Option<u32>,
pub starts: u32,
pub crashes: u32,
pub stderr: String,
pub faults: Vec<String>,
pub error: Option<String>,
pub subscribed: Vec<String>,
}Expand description
A snapshot for status displays.
Fields§
§phase: Phase§pid: Option<u32>§starts: u32§crashes: u32Crashes in a row.
stderr: StringThe kept stderr (and log lines).
faults: Vec<String>§error: Option<String>Why it isn’t running (exit, start failure).
subscribed: Vec<String>Trait Implementations§
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Forget for Status
impl Freeze for Status
impl Move for Status
impl RefUnwindSafe for Status
impl Send for Statuswhere
RawVecInner: Send,
impl Sync for Statuswhere
RawVecInner: Sync,
impl Unpin for Status
impl UnsafeUnpin for Statuswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Statuswhere
RawVecInner: UnwindSafe,
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,
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.