pub enum Seeding {
None,
List,
DNSSeed,
Programmatic,
}
Expand description
Type of seeding the server will use to find other peers on the network.
Variants§
None
No seeding, mostly for tests that programmatically connect
List
A list of seeds provided to the server (can be addresses or DNS names)
DNSSeed
Automatically get a list of seeds from multiple DNS
Programmatic
Mostly for tests, where connections are initiated programmatically
Trait Implementations§
source§impl<'de> Deserialize<'de> for Seeding
impl<'de> Deserialize<'de> for Seeding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Seeding
impl PartialEq for Seeding
impl Copy for Seeding
impl StructuralPartialEq for Seeding
Auto Trait Implementations§
impl Freeze for Seeding
impl RefUnwindSafe for Seeding
impl Send for Seeding
impl Sync for Seeding
impl Unpin for Seeding
impl UnwindSafe for Seeding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.