pub enum DaemonStatus {
Running {
pid: u32,
},
Stale {
pid: u32,
},
Stopped,
}Expand description
Status of the gateway daemon.
Variants§
Running
Running with the given PID.
Stale
PID file exists but the process is dead.
Stopped
No PID file — not running.
Trait Implementations§
Source§impl Clone for DaemonStatus
impl Clone for DaemonStatus
Source§fn clone(&self) -> DaemonStatus
fn clone(&self) -> DaemonStatus
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 moreAuto Trait Implementations§
impl Freeze for DaemonStatus
impl RefUnwindSafe for DaemonStatus
impl Send for DaemonStatus
impl Sync for DaemonStatus
impl Unpin for DaemonStatus
impl UnsafeUnpin for DaemonStatus
impl UnwindSafe for DaemonStatus
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