pub struct FlowReport<T> { /* private fields */ }Expand description
Scored flow outcomes with their traces, expected results and latencies.
Implementations§
Source§impl<T: PartialEq + Clone> FlowReport<T>
impl<T: PartialEq + Clone> FlowReport<T>
Sourcepub fn results(&self) -> &[FlowOutcome<T>]
pub fn results(&self) -> &[FlowOutcome<T>]
Completed or stopped outcomes, retaining every call trace.
Sourcepub fn latencies_ms(&self) -> &[f64]
pub fn latencies_ms(&self) -> &[f64]
Latency per flow case, including all its calls.
Sourcepub fn accuracy_when_answered(&self) -> f64
pub fn accuracy_when_answered(&self) -> f64
Correct divided by completed cases, zero for no completed cases.
Trait Implementations§
Source§impl<T: Clone> Clone for FlowReport<T>
impl<T: Clone> Clone for FlowReport<T>
Auto Trait Implementations§
impl<T> Freeze for FlowReport<T>
impl<T> RefUnwindSafe for FlowReport<T>
impl<T> Send for FlowReport<T>
impl<T> Sync for FlowReport<T>
impl<T> Unpin for FlowReport<T>
impl<T> UnsafeUnpin for FlowReport<T>
impl<T> UnwindSafe for FlowReport<T>
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