pub enum ProgressEvent {
Log {
message: String,
},
Phase {
title: String,
},
TaskSchemaValidationFailed {
task_id: String,
message: String,
},
}Expand description
Progress events emitted by the script (log(..) / phase(..)), delivered
to the driver synchronously and in script order.
Variants§
Log
log(msg) — a narrator line for the UI.
Phase
phase(title) — the script entered a named phase.
TaskSchemaValidationFailed
A completed child returned text that failed the caller’s
responseSchema. The VM emits this before throwing the validation
error back into the script so host-side receipts can mark the leaf as
failed instead of reporting a successful child beside a null result.
Trait Implementations§
Source§impl Clone for ProgressEvent
impl Clone for ProgressEvent
Source§fn clone(&self) -> ProgressEvent
fn clone(&self) -> ProgressEvent
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 ProgressEvent
impl Debug for ProgressEvent
impl Eq for ProgressEvent
Source§impl PartialEq for ProgressEvent
impl PartialEq for ProgressEvent
impl StructuralPartialEq for ProgressEvent
Auto Trait Implementations§
impl Freeze for ProgressEvent
impl RefUnwindSafe for ProgressEvent
impl Send for ProgressEvent
impl Sync for ProgressEvent
impl Unpin for ProgressEvent
impl UnsafeUnpin for ProgressEvent
impl UnwindSafe for ProgressEvent
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.