Enum network::connectivity_manager::DiscoverySource [−][src]
#[repr(u8)]
pub enum DiscoverySource {
OnChainValidatorSet,
File,
Config,
}Expand description
Different sources for peer addresses, ordered by priority (Onchain=highest, Config=lowest).
Variants
Implementations
The number of variants in this enum.
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 DiscoverySource
impl Send for DiscoverySource
impl Sync for DiscoverySource
impl Unpin for DiscoverySource
impl UnwindSafe for DiscoverySource
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.