Enum oauth2::revocation::RevocationErrorResponseType[][src]

pub enum RevocationErrorResponseType {
    UnsupportedTokenType,
    Basic(BasicErrorResponseType),
}

OAuth 2.0 Token Revocation error response types.

These error types are defined in Section 2.2.1 of RFC 7009 and Section 5.2 of RFC 6749

Variants

UnsupportedTokenType

The authorization server does not support the revocation of the presented token type.

The authorization server responded with some other error as defined RFC 6749 error.

Trait Implementations

impl AsRef<str> for RevocationErrorResponseType[src]

impl Clone for RevocationErrorResponseType[src]

impl Debug for RevocationErrorResponseType[src]

impl<'de> Deserialize<'de> for RevocationErrorResponseType[src]

impl Display for RevocationErrorResponseType[src]

impl ErrorResponseType for RevocationErrorResponseType[src]

impl PartialEq<RevocationErrorResponseType> for RevocationErrorResponseType[src]

impl Serialize for RevocationErrorResponseType[src]

impl StructuralPartialEq for RevocationErrorResponseType[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,