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

pub enum RefreshTokenError<RE: Error + Send + Sync + 'static> {
    RequestError(RequestTokenError<RE, TwitchTokenErrorResponse>),
    ParseError(ParseError),
    NoClientSecretFound,
    NoRefreshToken,
}

Variants

request for token failed. {0}

ParseError(ParseError)

could not parse url

NoClientSecretFound

no client secret found

A client secret is needed to request a refreshed token.

NoRefreshToken

no refresh token found

Trait Implementations

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

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

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

impl<RE: Error + Send + Sync + 'static> From<ParseError> for RefreshTokenError<RE>[src]

Auto Trait Implementations

impl<RE> !RefUnwindSafe for RefreshTokenError<RE>[src]

impl<RE> Send for RefreshTokenError<RE>[src]

impl<RE> Sync for RefreshTokenError<RE>[src]

impl<RE> Unpin for RefreshTokenError<RE> where
    RE: Unpin
[src]

impl<RE> !UnwindSafe for RefreshTokenError<RE>[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> 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]