pub struct ChildOutcome {
pub status: TerminalStatus,
pub result: Option<String>,
pub error: Option<String>,
pub transcript: Vec<Value>,
}Expand description
Result of running a task to completion (or suspension).
Fields§
§status: TerminalStatus§result: Option<String>§error: Option<String>§transcript: Vec<Value>Full worker transcript, shipped only on suspend so the host can persist it onto the child session and rehydrate the worker on resume.
Implementations§
Trait Implementations§
Source§impl Clone for ChildOutcome
impl Clone for ChildOutcome
Source§fn clone(&self) -> ChildOutcome
fn clone(&self) -> ChildOutcome
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 ChildOutcome
impl Debug for ChildOutcome
Source§impl PartialEq for ChildOutcome
impl PartialEq for ChildOutcome
Source§fn eq(&self, other: &ChildOutcome) -> bool
fn eq(&self, other: &ChildOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChildOutcome
Auto Trait Implementations§
impl Freeze for ChildOutcome
impl RefUnwindSafe for ChildOutcome
impl Send for ChildOutcome
impl Sync for ChildOutcome
impl Unpin for ChildOutcome
impl UnsafeUnpin for ChildOutcome
impl UnwindSafe for ChildOutcome
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