[][src]Enum srv_rs::Error

pub enum Error<Lookup: Debug> {
    Lookup(Lookup),
    RecordParsing(Error),
    NoTargets,
}

Errors encountered by a SrvClient.

Variants

Lookup(Lookup)

SRV lookup errors

RecordParsing(Error)

SRV record parsing errors

NoTargets

Produced when there are no SRV targets for a client to use

Trait Implementations

impl<Lookup: Debug> Debug for Error<Lookup>[src]

impl<Lookup: Debug> Display for Error<Lookup>[src]

impl<Lookup: Debug> Error for Error<Lookup>[src]

impl<Lookup: Debug> From<Error> for Error<Lookup>[src]

Auto Trait Implementations

impl<Lookup> RefUnwindSafe for Error<Lookup> where
    Lookup: RefUnwindSafe
[src]

impl<Lookup> Send for Error<Lookup> where
    Lookup: Send
[src]

impl<Lookup> Sync for Error<Lookup> where
    Lookup: Sync
[src]

impl<Lookup> Unpin for Error<Lookup> where
    Lookup: Unpin
[src]

impl<Lookup> UnwindSafe for Error<Lookup> where
    Lookup: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,