Enum paxakos::NodeStatus
source · pub enum NodeStatus {
Disoriented,
Following,
Lagging,
Leading,
}
Expand description
A node’s status, usually Leading
or Following
.
Variants
Disoriented
The node has no state and needs to install a snapshot.
Following
The node appears to be up to date.
Lagging
The node has state but it has definitely fallen behind.
A node is considered lagging when it has received a request for a round outside its concurrency window.
Leading
The node committed the latest entry and no other node has been observed in an attempt to commit an entry for a later round.
Trait Implementations
sourceimpl Clone for NodeStatus
impl Clone for NodeStatus
sourcefn clone(&self) -> NodeStatus
fn clone(&self) -> NodeStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NodeStatus
impl Debug for NodeStatus
sourceimpl PartialEq<NodeStatus> for NodeStatus
impl PartialEq<NodeStatus> for NodeStatus
sourcefn eq(&self, other: &NodeStatus) -> bool
fn eq(&self, other: &NodeStatus) -> bool
impl Copy for NodeStatus
impl Eq for NodeStatus
impl StructuralEq for NodeStatus
impl StructuralPartialEq for NodeStatus
Auto Trait Implementations
impl RefUnwindSafe for NodeStatus
impl Send for NodeStatus
impl Sync for NodeStatus
impl Unpin for NodeStatus
impl UnwindSafe for NodeStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more