pub enum CibaGrantResponse {
SlowDown,
AuthorizationPending,
ExpiredToken,
AccessDenied,
Debounced,
Successful(Box<TokenSet>),
}Expand description
§CibaGrantResponse
Response of the CibaHandle::grant_async() method
Variants§
SlowDown
Indicates that the AS is being polled much more frequent than allowed
AuthorizationPending
User authorization is pending
ExpiredToken
Auth request id expired
AccessDenied
User denied the authorization request
Debounced
Indicates that Grant called before the interval time has passed
Successful(Box<TokenSet>)
Authorization Succeeded.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CibaGrantResponse
impl RefUnwindSafe for CibaGrantResponse
impl Send for CibaGrantResponse
impl Sync for CibaGrantResponse
impl Unpin for CibaGrantResponse
impl UnwindSafe for CibaGrantResponse
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