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 Replywhere
RawVecInner: Send,
impl Sync for Replywhere
RawVecInner: Sync,
impl Unpin for Reply
impl UnsafeUnpin for Replywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Replywhere
RawVecInner: UnwindSafe,
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