pub struct ExceptionContext {
pub invocation_id: InvocationId,
pub task_id: TaskId,
pub error_type: String,
pub error_message: String,
pub arguments: BTreeMap<String, String>,
}Expand description
Context for a task failure.
Fields§
§invocation_id: InvocationId§task_id: TaskId§error_type: String§error_message: String§arguments: BTreeMap<String, String>Serialized invocation arguments (kwargs as key→JSON-string).
Trait Implementations§
Source§impl Clone for ExceptionContext
impl Clone for ExceptionContext
Source§fn clone(&self) -> ExceptionContext
fn clone(&self) -> ExceptionContext
Returns a duplicate of the value. Read more
1.0.0 · 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 ExceptionContext
impl Debug for ExceptionContext
Source§impl<'de> Deserialize<'de> for ExceptionContext
impl<'de> Deserialize<'de> for ExceptionContext
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExceptionContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExceptionContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExceptionContext
impl Serialize for ExceptionContext
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ExceptionContext
impl RefUnwindSafe for ExceptionContext
impl Send for ExceptionContext
impl Sync for ExceptionContext
impl Unpin for ExceptionContext
impl UnsafeUnpin for ExceptionContext
impl UnwindSafe for ExceptionContext
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