Enum iroh_dns_server::config::BootstrapOption
source · pub enum BootstrapOption {
Default,
Custom(Vec<String>),
}
Expand description
Configure the bootstrap servers for mainline DHT resolution.
Variants§
Trait Implementations§
source§impl Debug for BootstrapOption
impl Debug for BootstrapOption
source§impl Default for BootstrapOption
impl Default for BootstrapOption
source§fn default() -> BootstrapOption
fn default() -> BootstrapOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BootstrapOption
impl<'de> Deserialize<'de> for BootstrapOption
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
Auto Trait Implementations§
impl Freeze for BootstrapOption
impl RefUnwindSafe for BootstrapOption
impl Send for BootstrapOption
impl Sync for BootstrapOption
impl Unpin for BootstrapOption
impl UnwindSafe for BootstrapOption
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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