pub enum DaemonRole {
Operator,
Embedded,
}Expand description
Whether this daemon is the operator process or an embedded/test instance.
Variants§
Operator
Operator daemon: register launchd and run the lease reaper.
Embedded
Embedded/test daemon: skip launchd registration and the reaper.
Trait Implementations§
Source§impl Clone for DaemonRole
impl Clone for DaemonRole
Source§fn clone(&self) -> DaemonRole
fn clone(&self) -> DaemonRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DaemonRole
Source§impl Debug for DaemonRole
impl Debug for DaemonRole
impl Eq for DaemonRole
Source§impl PartialEq for DaemonRole
impl PartialEq for DaemonRole
impl StructuralPartialEq for DaemonRole
Auto Trait Implementations§
impl Freeze for DaemonRole
impl RefUnwindSafe for DaemonRole
impl Send for DaemonRole
impl Sync for DaemonRole
impl Unpin for DaemonRole
impl UnsafeUnpin for DaemonRole
impl UnwindSafe for DaemonRole
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.