pub enum AgentStatusKind {
Running,
Stale,
Stopped,
}Expand description
Three-state classification of an agent’s runtime state.
Variants§
Running
Lock present and the recorded pid is alive.
Stale
Lock present but the pid is not alive (crash/kill — orphan lock).
Stopped
No lock file.
Trait Implementations§
Source§impl Clone for AgentStatusKind
impl Clone for AgentStatusKind
Source§fn clone(&self) -> AgentStatusKind
fn clone(&self) -> AgentStatusKind
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 moreSource§impl Debug for AgentStatusKind
impl Debug for AgentStatusKind
Source§impl PartialEq for AgentStatusKind
impl PartialEq for AgentStatusKind
Source§fn eq(&self, other: &AgentStatusKind) -> bool
fn eq(&self, other: &AgentStatusKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentStatusKind
impl Serialize for AgentStatusKind
impl Copy for AgentStatusKind
impl Eq for AgentStatusKind
impl StructuralPartialEq for AgentStatusKind
Auto Trait Implementations§
impl Freeze for AgentStatusKind
impl RefUnwindSafe for AgentStatusKind
impl Send for AgentStatusKind
impl Sync for AgentStatusKind
impl Unpin for AgentStatusKind
impl UnsafeUnpin for AgentStatusKind
impl UnwindSafe for AgentStatusKind
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.