pub enum HostStatus {
Internal = -1,
Success = 0,
HostNotFound = 1,
TryAgain = 2,
NoRecovery = 3,
NoData = 4,
}Expand description
The NSS Host lookup errno. Further explains the standard C errno.
Defined here. Comments copied verbatim.
Variants§
Internal = -1
See errno.
Success = 0
No problem
HostNotFound = 1
Authoritative Answer Host not found.
TryAgain = 2
Non-Authoritative Host not found or SERVERFAIL.
NoRecovery = 3
Non recoverable errors, FORMERR, REFUSED, NOTIMP.
NoData = 4
Valid name, no data record of requested type.
Trait Implementations§
Source§impl Debug for HostStatus
impl Debug for HostStatus
Source§impl PartialEq for HostStatus
impl PartialEq for HostStatus
Source§fn eq(&self, other: &HostStatus) -> bool
fn eq(&self, other: &HostStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HostStatus
impl StructuralPartialEq for HostStatus
Auto Trait Implementations§
impl Freeze for HostStatus
impl RefUnwindSafe for HostStatus
impl Send for HostStatus
impl Sync for HostStatus
impl Unpin for HostStatus
impl UnsafeUnpin for HostStatus
impl UnwindSafe for HostStatus
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