[][src]Enum twitch_oauth2::tokens::errors::RevokeTokenError

pub enum RevokeTokenError<RE: Error + Send + Sync + 'static> {
    BadRequest(String),
    RequestError(RE),
    Other(OAuth2HttpResponse),
}

Errors for revoke_token

Variants

BadRequest(String)

400 Bad Request: {0}

RequestError(RE)

failed to do revokation: {0}

got unexpected return: {0:?}

Trait Implementations

impl<RE: Debug + Error + Send + Sync + 'static> Debug for RevokeTokenError<RE>[src]

impl<RE: Error + Send + Sync + 'static> Display for RevokeTokenError<RE>[src]

impl<RE: Error + Send + Sync + 'static> Error for RevokeTokenError<RE>[src]

Auto Trait Implementations

impl<RE> RefUnwindSafe for RevokeTokenError<RE> where
    RE: RefUnwindSafe

impl<RE> Send for RevokeTokenError<RE>

impl<RE> Sync for RevokeTokenError<RE>

impl<RE> Unpin for RevokeTokenError<RE> where
    RE: Unpin

impl<RE> UnwindSafe for RevokeTokenError<RE> where
    RE: UnwindSafe

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

impl<T> WithSubscriber for T[src]