Enum c_ares::AresError
[−]
[src]
pub enum AresError { 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, }
Error codes that the library might return. Use str_error()
to convert an
error code into a description.
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
Trait Implementations
impl Copy for AresError
[src]
impl Clone for AresError
[src]
fn clone(&self) -> AresError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more