Struct ipfs_embed::DnsConfig [−][src]
pub struct DnsConfig {
pub config: ResolverConfig,
pub opts: ResolverOpts,
}Expand description
DNS configuration.
Fields
config: ResolverConfigConfigures the nameservers to use.
opts: ResolverOptsConfiguration for the resolver.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DnsConfig
impl UnwindSafe for DnsConfig
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self