Enum c_ares::Error [−][src]
pub enum Error {
Show 25 variants
ENODATA,
EFORMERR,
ESERVFAIL,
ENOTFOUND,
ENOTIMP,
EREFUSED,
EBADQUERY,
EBADNAME,
EBADFAMILY,
EBADRESP,
ECONNREFUSED,
ETIMEOUT,
EOF,
EFILE,
ENOMEM,
EDESTRUCTION,
EBADSTR,
EBADFLAGS,
ENONAME,
EBADHINTS,
ENOTINITIALIZED,
ELOADIPHLPAPI,
EADDRGETNETWORKPARAMS,
ECANCELLED,
UNKNOWN,
}
Expand description
Error codes that the library might return.
Variants
DNS server returned answer with no data.
DNS server claims query was misformatted.
DNS server returned general failure.
Domain name not found.
DNS server does not implement requested operation.
DNS server refused query.
Misformatted DNS query.
Misformatted domain name.
Unsupported address family.
Misformatted DNS reply.
Could not contact DNS servers.
Timeout while contacting DNS servers.
End of file.
Error reading file.
Out of memory.
Channel is being destroyed.
Misformatted string.
Illegal flags specified.
Given hostname is not numeric.
Illegal hints flags specified.
c-ares library initialization not yet performed.
Error loading iphlpapi.dll.
Could not find GetNetworkParams function.
DNS query cancelled.
Unknown error.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more