Enum safe_network::routing::NodeElderChange [−][src]
pub enum NodeElderChange {
Promoted,
Demoted,
None,
}
Expand description
A flag in EldersChanged event, indicating whether the node got promoted, demoted or did not change.
Variants
The node was promoted to Elder.
The node was demoted to Adult.
There was no change to the node.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NodeElderChange
impl Send for NodeElderChange
impl Sync for NodeElderChange
impl Unpin for NodeElderChange
impl UnwindSafe for NodeElderChange
Blanket Implementations
Mutably borrows from an owned value. 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