pub enum Input<'req> {
Authenticated {
scope: Option<Cow<'req, str>>,
},
Recovered {
scope: Option<Cow<'req, str>>,
grant: Option<Box<Grant>>,
},
Refreshed(RefreshedToken),
None,
}
Expand description
An input injected by the executor into the state machine.
Variants§
Authenticated
Positively answer an authentication query.
Recovered
Provide the queried refresh token.
Fields
Refreshed(RefreshedToken)
The refreshed token.
None
Advance without input as far as possible, or just retrieve the output again.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'req> Freeze for Input<'req>
impl<'req> RefUnwindSafe for Input<'req>
impl<'req> Send for Input<'req>
impl<'req> Sync for Input<'req>
impl<'req> Unpin for Input<'req>
impl<'req> UnwindSafe for Input<'req>
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