Struct sn_routing::Elders[][src]

pub struct Elders {
    pub prefix: Prefix,
    pub key: PublicKey,
    pub elders: BTreeSet<XorName>,
}

Fields

prefix: Prefix

The prefix of the section.

key: PublicKey

The BLS public key of a section.

elders: BTreeSet<XorName>

The set of elders of a section.

Implementations

impl Elders[src]

pub fn key(&self) -> PublicKey[src]

The BLS public key

pub fn name(&self) -> XorName[src]

The BLS based name

pub fn address(&self) -> XorName[src]

The prefix based address

Trait Implementations

impl Clone for Elders[src]

impl Debug for Elders[src]

impl PartialEq<Elders> for Elders[src]

impl StructuralPartialEq for Elders[src]

Auto Trait Implementations

impl RefUnwindSafe for Elders

impl Send for Elders

impl Sync for Elders

impl Unpin for Elders

impl UnwindSafe for Elders

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,