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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V