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

Trait Implementations

impl Copy for AresError
[src]

impl Clone for AresError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AresError
[src]

Formats the value using the given formatter.