pub struct RuntimeErrorPayload {
pub task_name: String,
pub kind: String,
pub message: String,
}Expand description
RuntimeError — emitted instead of RuntimeEnd when the runtime
invocation could not complete (timeout, OOM, sandbox unavailable,
configuration missing, …). kind is a stable string tag mirroring
the engine’s RuntimeError enum; message is human-readable.
Fields§
§task_name: String§kind: StringOne of "NotConfigured" | "Timeout" | "SandboxUnavailable" | "OomKilled" | "Cancelled" | "Internal". Other strings are
forward-compatible future kinds; see RuntimeErrorKind.
message: StringTrait Implementations§
Source§impl Clone for RuntimeErrorPayload
impl Clone for RuntimeErrorPayload
Source§fn clone(&self) -> RuntimeErrorPayload
fn clone(&self) -> RuntimeErrorPayload
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 RuntimeErrorPayload
impl Debug for RuntimeErrorPayload
Source§impl<'de> Deserialize<'de> for RuntimeErrorPayload
impl<'de> Deserialize<'de> for RuntimeErrorPayload
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 RuntimeErrorPayload
impl PartialEq for RuntimeErrorPayload
Source§fn eq(&self, other: &RuntimeErrorPayload) -> bool
fn eq(&self, other: &RuntimeErrorPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeErrorPayload
impl Serialize for RuntimeErrorPayload
impl Eq for RuntimeErrorPayload
impl StructuralPartialEq for RuntimeErrorPayload
Auto Trait Implementations§
impl Freeze for RuntimeErrorPayload
impl RefUnwindSafe for RuntimeErrorPayload
impl Send for RuntimeErrorPayload
impl Sync for RuntimeErrorPayload
impl Unpin for RuntimeErrorPayload
impl UnsafeUnpin for RuntimeErrorPayload
impl UnwindSafe for RuntimeErrorPayload
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.