#[non_exhaustive]pub enum ResolverError {
Show 17 variants
Wire(Error),
Dnssec(DnssecError),
InvalidServiceName,
WrongQuery,
UnsuccessfulResponse,
MissingTlsa,
CnameCoexistsWithData,
CnameLoop,
CnameLimit,
MalformedAnswer,
Limit,
AlreadyComplete,
MissingHnsDs,
InvalidHnsZone,
AnchorTimeMismatch,
HnsZoneMismatch,
AuthorityChanged,
}Expand description
Resolution validation failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Wire(Error)
DNS wire or response-correlation failure.
Dnssec(DnssecError)
Local DNSSEC failure.
InvalidServiceName
Service-prefixed owner or ASCII SNI host is invalid.
WrongQuery
Response does not correspond to the resolver’s current query.
UnsuccessfulResponse
DNS response code is not NOERROR.
MissingTlsa
No TLSA or CNAME answer exists at the current owner.
CnameCoexistsWithData
CNAME and other owner data coexist.
CnameLoop
CNAME path repeated an owner.
CnameLimit
CNAME path exceeded its bound.
MalformedAnswer
An answer RRset is malformed or ambiguous.
Limit
A configured resource bound was exceeded.
AlreadyComplete
Resolution already produced terminal evidence.
MissingHnsDs
A current HNS resource has no DNSSEC DS record.
InvalidHnsZone
The on-chain HNS label cannot form a DNS zone.
AnchorTimeMismatch
DNSSEC validation time does not equal the chain-currency check time.
HnsZoneMismatch
Requested origin is outside the HNS TLD authority.
AuthorityChanged
A multi-response resolution attempted to change its trust authority.
Trait Implementations§
Source§impl Clone for ResolverError
impl Clone for ResolverError
Source§impl Debug for ResolverError
impl Debug for ResolverError
Source§impl Display for ResolverError
impl Display for ResolverError
impl Eq for ResolverError
Source§impl Error for ResolverError
impl Error for ResolverError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()