Enum yup_oauth2::PollError
[−]
[src]
pub enum PollError { HttpError(Error), Expired(DateTime<UTC>), AccessDenied, }
Encapsulates all possible results of a poll_token(...)
operation
Variants
HttpError(Error)
Connection failure - retry if you think it's worth it
Expired(DateTime<UTC>)
indicates we are expired, including the expiration date
AccessDenied
Indicates that the user declined access. String is server response