pub struct ResultCondenser { /* private fields */ }Expand description
Result Condenser - compresses execution traces for parent context
Implementations§
Source§impl ResultCondenser
impl ResultCondenser
Sourcepub fn with_config(config: CondenserConfig) -> Self
pub fn with_config(config: CondenserConfig) -> Self
Create with custom config
Sourcepub fn condense(&self, trace: &ExecutionTrace) -> CondensedResult
pub fn condense(&self, trace: &ExecutionTrace) -> CondensedResult
Condense an execution trace
Sourcepub fn condense_multiple(&self, traces: &[ExecutionTrace]) -> CondensedResult
pub fn condense_multiple(&self, traces: &[ExecutionTrace]) -> CondensedResult
Condense multiple traces (e.g., parallel child executions)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResultCondenser
impl RefUnwindSafe for ResultCondenser
impl Send for ResultCondenser
impl Sync for ResultCondenser
impl Unpin for ResultCondenser
impl UnsafeUnpin for ResultCondenser
impl UnwindSafe for ResultCondenser
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