pub enum SupervisorState {
Running,
Stopped,
Failed(String),
}Expand description
Observed daemon lifecycle state.
Running / Stopped are the steady states. Failed carries
a short free-form reason so a /headless status line can
distinguish a clean stop from a crash — silent conflation would
hide the 2 AM case where the daemon died in the night.
Variants§
Trait Implementations§
Source§impl Clone for SupervisorState
impl Clone for SupervisorState
Source§fn clone(&self) -> SupervisorState
fn clone(&self) -> SupervisorState
Returns a duplicate of the value. Read more
1.0.0 · 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 SupervisorState
impl Debug for SupervisorState
Source§impl PartialEq for SupervisorState
impl PartialEq for SupervisorState
impl Eq for SupervisorState
impl StructuralPartialEq for SupervisorState
Auto Trait Implementations§
impl Freeze for SupervisorState
impl RefUnwindSafe for SupervisorState
impl Send for SupervisorState
impl Sync for SupervisorState
impl Unpin for SupervisorState
impl UnsafeUnpin for SupervisorState
impl UnwindSafe for SupervisorState
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