pub enum Reply {
Token(Granted),
Pending,
SlowDown(Option<u64>),
Failed(AuthError),
}Expand description
One answer of the token endpoint.
Variants§
Token(Granted)
Pending
Device flow: the user has not entered the code yet.
SlowDown(Option<u64>)
Device flow: poll less often, at the new interval when GitHub gives one.
Failed(AuthError)
Trait Implementations§
impl Eq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Forget for Reply
impl Freeze for Reply
impl Move for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
impl UnwindSafe for Reply
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