Enum async_dnssd::Error [] [src]

pub enum Error {
    KnownError(DNSServiceError),
    UnknownError(i32),
}

API Error

Variants

If error code used some recognized name

Unrecognized error codes

Methods

impl Error
[src]

Check if a raw error code represents an error, and convert it accordingly. (Not all codes are treated as an error, including 0).

Trait Implementations

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Error
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more