pub struct Trace { /* private fields */ }Expand description
What one decision reports besides the decision: the value of each debug() call, in order;
when values are traced (Trace::with_values), what each expression of the coverage report
evaluated to, for crate::coverage::Coverage::record; and when evaluations are
(Trace::with_evaluations), each Evaluation.
Implementations§
Source§impl Trace
impl Trace
Sourcepub fn with_values() -> Self
pub fn with_values() -> Self
A trace of debug() and of every expression’s value.
Sourcepub fn with_evaluations(self) -> Self
pub fn with_evaluations(self) -> Self
This trace, also reporting each Evaluation.
Sourcepub fn evaluations(&self) -> &[Evaluation]
pub fn evaluations(&self) -> &[Evaluation]
The evaluations, in order, if they are reported.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Trace
impl !Sync for Trace
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
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