pub struct ChildOutcome {
pub status: TerminalStatus,
pub final_event_watermark: Option<ActorEventWatermark>,
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§final_event_watermark: Option<ActorEventWatermark>Set by the transport only after successful event drain and final flush.
result: Option<String>§error: Option<String>§transcript: Vec<Value>Rolling-wire compatibility field. The current actor host never consumes it: canonical session checkpoints are the transcript authority and suspend/resume dispatch is not implemented. Keep serializing the empty field until the protocol is versioned; do not build new state transfer on this payload.
Implementations§
Trait Implementations§
Source§impl Clone for ChildOutcome
impl Clone for ChildOutcome
Source§impl Debug for ChildOutcome
impl Debug for ChildOutcome
Source§impl<'de> Deserialize<'de> for ChildOutcome
impl<'de> Deserialize<'de> for ChildOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChildOutcome
impl PartialEq for ChildOutcome
Source§impl Serialize for ChildOutcome
impl Serialize for ChildOutcome
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