Struct sc_peerset::PeersetConfig
source · pub struct PeersetConfig {
pub sets: Vec<SetConfig>,
}
Expand description
Configuration to pass when creating the peer set manager.
Fields§
§sets: Vec<SetConfig>
List of sets of nodes the peerset manages.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PeersetConfig
impl Send for PeersetConfig
impl Sync for PeersetConfig
impl Unpin for PeersetConfig
impl UnwindSafe for PeersetConfig
Blanket Implementations§
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.