pub struct TracedRun<R> {
pub result: Result<R, Error>,
pub steps: Vec<ExecutionStep>,
pub expression_tree: ExpressionNode,
}Available on crate feature
trace only.Expand description
Result of a traced evaluation produced by TracedSession. Always
includes the trace data; the value-or-error split lives on
Self::result.
Fields§
§result: Result<R, Error>Ok(value) on success, Err(error) on failure. The error always
carries the operator + path metadata populated by the engine.
steps: Vec<ExecutionStep>Per-node execution log captured during the run.
expression_tree: ExpressionNodeCompile-time expression tree for flow-diagram rendering.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for TracedRun<R>where
R: Freeze,
impl<R> !RefUnwindSafe for TracedRun<R>
impl<R> Send for TracedRun<R>where
R: Send,
impl<R> Sync for TracedRun<R>where
R: Sync,
impl<R> Unpin for TracedRun<R>where
R: Unpin,
impl<R> UnsafeUnpin for TracedRun<R>where
R: UnsafeUnpin,
impl<R> !UnwindSafe for TracedRun<R>
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