pub enum ElicitationStatus {
Pending,
Resolved {
outcome: ElicitationOutcome,
},
Expired,
}Expand description
Current state of a dispatched elicitation, read by
ElicitationInvoker::check on each retry.
Variants§
Pending
The human has not responded yet — the phase stays pending and the
host re-emits -32120.
Resolved
The human responded. outcome carries approved/denied; the
runtime still calls validate before honoring an Approved.
Fields
§
outcome: ElicitationOutcomeExpired
The elicitation timed out before a response — the runtime fails
closed (subject to the step’s on_error).
Trait Implementations§
Source§impl Clone for ElicitationStatus
impl Clone for ElicitationStatus
Source§fn clone(&self) -> ElicitationStatus
fn clone(&self) -> ElicitationStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ElicitationStatus
impl Debug for ElicitationStatus
impl Eq for ElicitationStatus
Source§impl PartialEq for ElicitationStatus
impl PartialEq for ElicitationStatus
impl StructuralPartialEq for ElicitationStatus
Auto Trait Implementations§
impl Freeze for ElicitationStatus
impl RefUnwindSafe for ElicitationStatus
impl Send for ElicitationStatus
impl Sync for ElicitationStatus
impl Unpin for ElicitationStatus
impl UnsafeUnpin for ElicitationStatus
impl UnwindSafe for ElicitationStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.