pub struct PromptId(/* private fields */);Expand description
Identifier that pairs a prompt request with its matching response.
Issued by the runtime when emitting ExecEvent::AwaitPrompt; echoed back
by the frontend in UiCommand::PromptResponse. Allows the runtime to
reject stale or out-of-order responses unambiguously.
Implementations§
Trait Implementations§
impl Copy for PromptId
impl Eq for PromptId
impl StructuralPartialEq for PromptId
Auto Trait Implementations§
impl Freeze for PromptId
impl RefUnwindSafe for PromptId
impl Send for PromptId
impl Sync for PromptId
impl Unpin for PromptId
impl UnsafeUnpin for PromptId
impl UnwindSafe for PromptId
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.