[][src]Enum lib3h_mdns::error::ErrorKind

pub enum ErrorKind {
    Io(Error),
    NoneError(NoneError),
    AddrParseError(AddrParseError),
    ProbeError,
    NoAvailablePort,
    RegexError(Error),
    Utf8Error(Utf8Error),
    DiscoveryError(DiscoveryError),
    Other(String),
    // some variants omitted
}

The specific type of an error.

Variants

Io(Error)

An I/O error that occurred while processing a data stream.

NoneError(NoneError)

Error occuring from None Option

AddrParseError(AddrParseError)

Error occuring while parsing Adresses with the net module

ProbeError

Error during probe.

NoAvailablePort

Error occuring while we try to get an available port from the host.

RegexError(Error)

Error occuring while using Regex crate.

Utf8Error(Utf8Error)

Error occuring while converting bytes to String.

DiscoveryError(DiscoveryError)

Error occuring while discovering participants on a network.

Other(String)

Yet undefined error.

Trait Implementations

impl Debug for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,