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. Read more

impl Display for PollError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for PollError

impl Sync for PollError