Struct sc_peerset::SetId [−][src]
pub struct SetId(_);
Expand description
Identifier of a set in the peerset.
Can be constructed using the From<usize> trait implementation based on the index of the set
within PeersetConfig::sets. For example, the first element of PeersetConfig::sets is
later referred to with SetId::from(0). It is intended that the code responsible for building
the PeersetConfig is also responsible for constructing the SetIds.
Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetIdimpl UnwindSafe for SetIdBlanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V