pub enum DaemonWant {
Down,
Up,
Restart,
}Expand description
What state we want the daemon to be in
Variants§
Implementations§
Source§impl DaemonWant
impl DaemonWant
Sourcepub fn wants_exit(self) -> bool
pub fn wants_exit(self) -> bool
Whether the value warrants exiting from a daemon
Trait Implementations§
Source§impl Clone for DaemonWant
impl Clone for DaemonWant
Source§fn clone(&self) -> DaemonWant
fn clone(&self) -> DaemonWant
Returns a copy 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 DaemonWant
impl Debug for DaemonWant
Source§impl PartialEq for DaemonWant
impl PartialEq for DaemonWant
impl Copy for DaemonWant
impl Eq for DaemonWant
impl StructuralPartialEq for DaemonWant
Auto Trait Implementations§
impl Freeze for DaemonWant
impl RefUnwindSafe for DaemonWant
impl Send for DaemonWant
impl Sync for DaemonWant
impl Unpin for DaemonWant
impl UnwindSafe for DaemonWant
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