pub enum DnsStatus {
Ok,
NoData,
NxDomain,
ServFail,
Refused,
Timeout,
Other,
}Expand description
DNS response status for the A/AAAA lookup of a host (RFC 1035 rcodes).
Variants§
Ok
NOERROR with address records.
NoData
NOERROR, name exists, but no A/AAAA records (NODATA).
NxDomain
NXDOMAIN — the name does not exist.
ServFail
Refused
Timeout
Resolver gave up within its timeout budget.
Other
Any other response code or transport failure.
Implementations§
Trait Implementations§
impl Copy for DnsStatus
impl Eq for DnsStatus
impl StructuralPartialEq for DnsStatus
Auto Trait Implementations§
impl Freeze for DnsStatus
impl RefUnwindSafe for DnsStatus
impl Send for DnsStatus
impl Sync for DnsStatus
impl Unpin for DnsStatus
impl UnsafeUnpin for DnsStatus
impl UnwindSafe for DnsStatus
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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