Enum cashweb_keyserver_client::services::GetPeersError[][src]

pub enum GetPeersError<E: Debug + Display> {
    Body(HyperError),
    Service(E),
    Decode(DecodeError),
    UnexpectedStatusCode(u16),
    PeeringDisabled,
}

Error associated with getting Peers from a keyserver.

Variants

Error while processing the body.

Service(E)

A connection error occured.

Decode(DecodeError)

Error while decoding the body.

UnexpectedStatusCode(u16)

Unexpected status code.

PeeringDisabled

Peering is disabled on the keyserver.

Trait Implementations

impl<E: Debug + Display> Debug for GetPeersError<E>[src]

impl<E: Debug + Display> Display for GetPeersError<E>[src]

impl<E: Debug + Display> Error for GetPeersError<E>[src]

Auto Trait Implementations

impl<E> !RefUnwindSafe for GetPeersError<E>[src]

impl<E> Send for GetPeersError<E> where
    E: Send
[src]

impl<E> Sync for GetPeersError<E> where
    E: Sync
[src]

impl<E> Unpin for GetPeersError<E> where
    E: Unpin
[src]

impl<E> !UnwindSafe for GetPeersError<E>[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>,