Enum cashweb_keyserver_client::services::GetMetadataError[][src]

pub enum GetMetadataError<E: Debug + Display> {
    MetadataDecode(DecodeError),
    AuthWrapperDecode(DecodeError),
    AuthWrapperParse(ParseError),
    AuthWrapperVerify(VerifyError),
    Body(HyperError),
    Service(E),
    UnexpectedStatusCode(u16),
    MissingToken,
}

Error associated with getting AddressMetadata from a keyserver.

Variants

MetadataDecode(DecodeError)

Error while decoding the AddressMetadata

AuthWrapperDecode(DecodeError)

Error while decoding the AuthWrapper.

AuthWrapperParse(ParseError)

Error while parsing the AuthWrapper.

AuthWrapperVerify(VerifyError)

Error while parsing the AuthWrapper.

Error while processing the body.

Service(E)

A connection error occured.

UnexpectedStatusCode(u16)

Unexpected status code.

MissingToken

POP token missing from headers.

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

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

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