pub enum Input<'req> {
Request(&'req dyn Request),
Authenticated,
Recovered(Option<Box<Grant>>),
Extended {
access_extensions: Extensions,
},
Issued(IssuedToken),
None,
}Expand description
Input injected by the executor into the state machine.
Variants§
Request(&'req dyn Request)
The request to be processed.
Authenticated
Positively answer an authentication query.
Recovered(Option<Box<Grant>>)
Provide the queried refresh token.
Extended
Provide extensions
Fields
§
access_extensions: ExtensionsThe grant extension
Issued(IssuedToken)
The token produced by the backend
None
Advance without input as far as possible, or just retrieve the output again.
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