Enum libp2p_dns::DnsErr [−][src]
pub enum DnsErr<TErr> { Transport(TErr), ResolveError(ResolveError), MultiaddrNotSupported(Multiaddr), TooManyLookups, }
Expand description
The possible errors of a GenDnsConfig
wrapped transport.
Variants
The underlying transport encountered an error.
ResolveError(ResolveError)
DNS resolution failed.
DNS resolution was successful, but the underlying transport refused the resolved address.
DNS resolution involved too many lookups.
DNS resolution on dialing performs up to 32 DNS lookups. If these are not sufficient to obtain a fully-resolved address, this error is returned and the DNS records for the domain(s) being dialed should be investigated.
Trait Implementations
Auto Trait Implementations
impl<TErr> !RefUnwindSafe for DnsErr<TErr>
impl<TErr> !UnwindSafe for DnsErr<TErr>