Enum paxakos::NodeStatus [−][src]
pub enum NodeStatus {
Disoriented,
Following,
Lagging,
Leading,
}
Expand description
A node’s status, usually Leading
or Following
.
Variants
The node has no state and needs to install a snapshot.
The node appears to be up to date.
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.
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
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more