pub enum DeviceFlowGrantResponse {
SlowDown,
AuthorizationPending,
Debounced,
Successful(Box<TokenSet>),
}
Expand description
§DeviceFlowGrantResponse
Response of the DeviceFlowHandle::grant_async() method
Variants§
SlowDown
Indicates that the AS is being polled much more frequent than allowed
AuthorizationPending
User authorization is pending
Debounced
Indicates that Grant called before the interval time has passed
Successful(Box<TokenSet>)
Authorization Succeeded.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceFlowGrantResponse
impl RefUnwindSafe for DeviceFlowGrantResponse
impl Send for DeviceFlowGrantResponse
impl Sync for DeviceFlowGrantResponse
impl Unpin for DeviceFlowGrantResponse
impl UnwindSafe for DeviceFlowGrantResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more