[][src]Enum oxide_auth::code_grant::refresh::Error

pub enum Error {
    Invalid(ErrorDescription),
    Unauthorized(ErrorDescriptionString),
    Primitive,
}

Defines actions for the response to an access token request.

Variants

Invalid(ErrorDescription)

The token did not represent a valid token.

Unauthorized(ErrorDescriptionString)

The client did not properly authorize itself.

Primitive

An underlying primitive operation did not complete successfully.

This is expected to occur with some endpoints. See PrimitiveError for more details on when this is returned.

Methods

impl Error[src]

pub fn description(&mut self) -> Option<&mut AccessTokenError>[src]

Get a handle to the description the client will receive.

Some types of this error don't return any description which is represented by a None result.

Trait Implementations

impl Debug for Error[src]

Auto Trait Implementations

impl Unpin for Error

impl Send for Error

impl Sync for Error

impl RefUnwindSafe for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> UnsafeAny for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input,