[][src]Enum twitch_irc::login::RefreshingLoginError

pub enum RefreshingLoginError<S: TokenStorage> {
    LoadError(S::LoadError),
    RefreshError(Error),
    UpdateError(S::UpdateError),
}

Error type for the RefreshingLoginCredentials implementation.

Variants

LoadError(S::LoadError)

Failed to retrieve token from storage: <cause>

RefreshError(Error)

Failed to refresh token: <cause>

UpdateError(S::UpdateError)

Failed to update token in storage: <cause>

Trait Implementations

impl<S: Debug + TokenStorage> Debug for RefreshingLoginError<S> where
    S::LoadError: Debug,
    S::UpdateError: Debug
[src]

impl<S: TokenStorage> Display for RefreshingLoginError<S>[src]

impl<S: TokenStorage> Error for RefreshingLoginError<S>[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for RefreshingLoginError<S>

impl<S> Send for RefreshingLoginError<S> where
    <S as TokenStorage>::LoadError: Send,
    <S as TokenStorage>::UpdateError: Send

impl<S> Sync for RefreshingLoginError<S> where
    <S as TokenStorage>::LoadError: Sync,
    <S as TokenStorage>::UpdateError: Sync

impl<S> Unpin for RefreshingLoginError<S> where
    <S as TokenStorage>::LoadError: Unpin,
    <S as TokenStorage>::UpdateError: Unpin

impl<S> !UnwindSafe for RefreshingLoginError<S>

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