pub enum EnsureStatus {
Started,
AlreadyRunning,
Adopted,
}Expand description
What ensure had to do to get a daemon.
Variants§
Started
Nothing was running, so one was spawned.
AlreadyRunning
The state file named a daemon and it answered.
Adopted
The port answered without a state file naming it — someone else’s daemon, or one whose state was removed underneath it.
Implementations§
Trait Implementations§
Source§impl Clone for EnsureStatus
impl Clone for EnsureStatus
Source§fn clone(&self) -> EnsureStatus
fn clone(&self) -> EnsureStatus
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 EnsureStatus
Source§impl Debug for EnsureStatus
impl Debug for EnsureStatus
impl Eq for EnsureStatus
Source§impl PartialEq for EnsureStatus
impl PartialEq for EnsureStatus
impl StructuralPartialEq for EnsureStatus
Auto Trait Implementations§
impl Freeze for EnsureStatus
impl RefUnwindSafe for EnsureStatus
impl Send for EnsureStatus
impl Sync for EnsureStatus
impl Unpin for EnsureStatus
impl UnsafeUnpin for EnsureStatus
impl UnwindSafe for EnsureStatus
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.