pub enum Input<'machine> {
Bound {
request: &'machine dyn Request,
bound_client: BoundClient<'static>,
},
Extended(Extensions),
Negotiated {
pre_grant: PreGrant,
state: Option<String>,
},
Finished,
None,
}Expand description
Input injected by the executor into the state machine.
Variants§
Bound
Binding of the client succeeded
Fields
§
request: &'machine dyn RequestRequest is given again to make some additional check that need bound client to run
§
bound_client: BoundClient<'static>The bound client
Extended(Extensions)
Extension succeeded
Negotiated
Negotiation done
Fields
Finished
We’re done
None
Advance without input as far as possible, or just retrieve the output again.
Auto Trait Implementations§
impl<'machine> !RefUnwindSafe for Input<'machine>
impl<'machine> !Send for Input<'machine>
impl<'machine> !Sync for Input<'machine>
impl<'machine> !UnwindSafe for Input<'machine>
impl<'machine> Freeze for Input<'machine>
impl<'machine> Unpin for Input<'machine>
impl<'machine> UnsafeUnpin for Input<'machine>
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