Enum yup_oauth2::PollError [] [src]

pub enum PollError {
    HttpError(Error),
    Expired(DateTime<UTC>),
    AccessDenied,
}

Encapsulates all possible results of a poll_token(...) operation

Variants

Connection failure - retry if you think it's worth it

indicates we are expired, including the expiration date

Indicates that the user declined access. String is server response

Trait Implementations

impl Debug for PollError
[src]

Formats the value using the given formatter.

impl Display for PollError
[src]

Formats the value using the given formatter.