pub struct BootstrapConfig {
pub enable_hardcoded: bool,
pub enable_three_words: bool,
pub enable_dns: bool,
pub custom_bootstraps: Vec<Multiaddr>,
pub fallback_behavior: FallbackBehavior,
}
Expand description
Bootstrap configuration for different deployment scenarios
Fields§
§enable_hardcoded: bool
Enable hardcoded bootstrap discovery
enable_three_words: bool
Enable three-word address resolution
enable_dns: bool
Enable DNS-based discovery
custom_bootstraps: Vec<Multiaddr>
Custom bootstrap addresses
fallback_behavior: FallbackBehavior
Fallback behavior when no bootstraps are available
Trait Implementations§
Source§impl Clone for BootstrapConfig
impl Clone for BootstrapConfig
Source§fn clone(&self) -> BootstrapConfig
fn clone(&self) -> BootstrapConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BootstrapConfig
impl Debug for BootstrapConfig
Auto Trait Implementations§
impl Freeze for BootstrapConfig
impl RefUnwindSafe for BootstrapConfig
impl Send for BootstrapConfig
impl Sync for BootstrapConfig
impl Unpin for BootstrapConfig
impl UnwindSafe for BootstrapConfig
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