pub enum TracedAction {
Continue,
Skip {
reason: Option<String>,
},
Terminate {
reason: String,
},
}Expand description
Lightweight projection of ToolDispatchAction suitable for trace
recording. Decouples the trace shape from the runtime action enum so adding
fields to ToolDispatchAction does not silently widen trace records.
Variants§
Trait Implementations§
Source§impl Clone for TracedAction
impl Clone for TracedAction
Source§fn clone(&self) -> TracedAction
fn clone(&self) -> TracedAction
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 TracedAction
impl Debug for TracedAction
Source§impl From<&ToolDispatchAction> for TracedAction
impl From<&ToolDispatchAction> for TracedAction
Source§fn from(value: &ToolDispatchAction) -> Self
fn from(value: &ToolDispatchAction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TracedAction
impl PartialEq for TracedAction
Source§fn eq(&self, other: &TracedAction) -> bool
fn eq(&self, other: &TracedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TracedAction
Auto Trait Implementations§
impl Freeze for TracedAction
impl RefUnwindSafe for TracedAction
impl Send for TracedAction
impl Sync for TracedAction
impl Unpin for TracedAction
impl UnsafeUnpin for TracedAction
impl UnwindSafe for TracedAction
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