Struct safe_network::node::Elders
source · [−]pub struct Elders {
pub prefix: Prefix,
pub key: BlsPublicKey,
pub remaining: BTreeSet<XorName>,
pub added: BTreeSet<XorName>,
pub removed: BTreeSet<XorName>,
}
Expand description
Bound name of elders and section_key, section_prefix info together.
Fields
prefix: Prefix
The prefix of the section.
key: BlsPublicKey
The BLS public key of a section.
remaining: BTreeSet<XorName>
Remaining Elders in our section.
added: BTreeSet<XorName>
New Elders in our section.
removed: BTreeSet<XorName>
Removed Elders in our section.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Elders
impl UnwindSafe for Elders
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