Enum c_ares_sys::ares_status_t
source · #[repr(u32)]pub enum ares_status_t {
Show 27 variants
ARES_SUCCESS = 0,
ARES_ENODATA = 1,
ARES_EFORMERR = 2,
ARES_ESERVFAIL = 3,
ARES_ENOTFOUND = 4,
ARES_ENOTIMP = 5,
ARES_EREFUSED = 6,
ARES_EBADQUERY = 7,
ARES_EBADNAME = 8,
ARES_EBADFAMILY = 9,
ARES_EBADRESP = 10,
ARES_ECONNREFUSED = 11,
ARES_ETIMEOUT = 12,
ARES_EOF = 13,
ARES_EFILE = 14,
ARES_ENOMEM = 15,
ARES_EDESTRUCTION = 16,
ARES_EBADSTR = 17,
ARES_EBADFLAGS = 18,
ARES_ENONAME = 19,
ARES_EBADHINTS = 20,
ARES_ENOTINITIALIZED = 21,
ARES_ELOADIPHLPAPI = 22,
ARES_EADDRGETNETWORKPARAMS = 23,
ARES_ECANCELLED = 24,
ARES_ESERVICE = 25,
ARES_ENOSERVER = 26,
}
Variants§
ARES_SUCCESS = 0
ARES_ENODATA = 1
ARES_EFORMERR = 2
ARES_ESERVFAIL = 3
ARES_ENOTFOUND = 4
ARES_ENOTIMP = 5
ARES_EREFUSED = 6
ARES_EBADQUERY = 7
ARES_EBADNAME = 8
ARES_EBADFAMILY = 9
ARES_EBADRESP = 10
ARES_ECONNREFUSED = 11
ARES_ETIMEOUT = 12
ARES_EOF = 13
ARES_EFILE = 14
ARES_ENOMEM = 15
ARES_EDESTRUCTION = 16
ARES_EBADSTR = 17
ARES_EBADFLAGS = 18
ARES_ENONAME = 19
ARES_EBADHINTS = 20
ARES_ENOTINITIALIZED = 21
ARES_ELOADIPHLPAPI = 22
ARES_EADDRGETNETWORKPARAMS = 23
ARES_ECANCELLED = 24
ARES_ESERVICE = 25
ARES_ENOSERVER = 26
Trait Implementations§
source§impl Clone for ares_status_t
impl Clone for ares_status_t
source§fn clone(&self) -> ares_status_t
fn clone(&self) -> ares_status_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ares_status_t
impl Debug for ares_status_t
source§impl Hash for ares_status_t
impl Hash for ares_status_t
source§impl PartialEq for ares_status_t
impl PartialEq for ares_status_t
source§fn eq(&self, other: &ares_status_t) -> bool
fn eq(&self, other: &ares_status_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ares_status_t
impl Eq for ares_status_t
impl StructuralPartialEq for ares_status_t
Auto Trait Implementations§
impl Freeze for ares_status_t
impl RefUnwindSafe for ares_status_t
impl Send for ares_status_t
impl Sync for ares_status_t
impl Unpin for ares_status_t
impl UnwindSafe for ares_status_t
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