[][src]Enum mauth_client::MAuthValidationError

pub enum MAuthValidationError {
    InvalidTime,
    InvalidSignature,
    NoTime,
    NoSig,
    ResponseProblem,
    InvalidBody,
    KeyUnavailable,
    SignatureVerifyFailure,
}

All of the possible errors that can take place when attempting to verify a response signature

Variants

InvalidTime

The timestamp of the response was either invalid or outside of the permitted range

InvalidSignature

The MAuth signature of the response was either missing or incorrectly formatted

NoTime

The timestamp header of the response was missing

NoSig

The signature header of the response was missing

ResponseProblem

An error occurred while attempting to retrieve part of the response body

InvalidBody

The response body failed to parse

KeyUnavailable

Attempt to retrieve a key to verify the response failed

SignatureVerifyFailure

The body of the response did not match the signature

Trait Implementations

impl Debug for MAuthValidationError[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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.