pub enum Cause {
Ok,
Mdns,
NotForwarded,
SearchDomainMissing,
ClientFails,
ClientOnly,
StaleRecord,
UnexpectedAddress,
RouterNoRecord,
UnknownName,
RouterUnreachable,
RouterUnknown,
}Expand description
The likely cause.
Variants§
Ok
Both answer the same.
Mdns
A .local name, resolved by mDNS.
NotForwarded
The router answers, this machine asks another server that does not forward the local domain to the router.
SearchDomainMissing
A name without a dot fails, because the search domain is missing.
ClientFails
The router answers, this machine does not, for an unknown reason.
ClientOnly
This machine answers, the router does not.
StaleRecord
Both answer, with different addresses.
UnexpectedAddress
Both answer the same, but not the expected address.
RouterNoRecord
The host is in the host table, but the DNS server of the router does not answer for it.
UnknownName
Nobody knows the name.
RouterUnreachable
The DNS server of the router did not answer.
RouterUnknown
The DNS server of the router is unknown.
Trait Implementations§
impl Copy for Cause
impl Eq for Cause
impl StructuralPartialEq for Cause
Auto Trait Implementations§
impl Forget for Cause
impl Freeze for Cause
impl Move for Cause
impl RefUnwindSafe for Cause
impl Send for Cause
impl Sync for Cause
impl Unpin for Cause
impl UnsafeUnpin for Cause
impl UnwindSafe for Cause
Blanket Implementations§
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