pub struct RuntimeEndPayload {
pub task_name: String,
pub exit_code: i32,
pub duration_ms: u64,
}Expand description
RuntimeEnd — emitted exactly once when the runtime invocation
finished successfully (the executor returned an ExecResult).
exit_code == 0 is the conventional success signal but the engine
surfaces non-zero codes here too — only true infrastructure failures
(timeout, OOM, sandbox unreachable) emit RuntimeErrorPayload instead.
Fields§
§task_name: String§exit_code: i32§duration_ms: u64Trait Implementations§
Source§impl Clone for RuntimeEndPayload
impl Clone for RuntimeEndPayload
Source§fn clone(&self) -> RuntimeEndPayload
fn clone(&self) -> RuntimeEndPayload
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 RuntimeEndPayload
impl Debug for RuntimeEndPayload
Source§impl<'de> Deserialize<'de> for RuntimeEndPayload
impl<'de> Deserialize<'de> for RuntimeEndPayload
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 RuntimeEndPayload
impl PartialEq for RuntimeEndPayload
Source§fn eq(&self, other: &RuntimeEndPayload) -> bool
fn eq(&self, other: &RuntimeEndPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeEndPayload
impl Serialize for RuntimeEndPayload
impl Eq for RuntimeEndPayload
impl StructuralPartialEq for RuntimeEndPayload
Auto Trait Implementations§
impl Freeze for RuntimeEndPayload
impl RefUnwindSafe for RuntimeEndPayload
impl Send for RuntimeEndPayload
impl Sync for RuntimeEndPayload
impl Unpin for RuntimeEndPayload
impl UnsafeUnpin for RuntimeEndPayload
impl UnwindSafe for RuntimeEndPayload
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.