pub struct PhaseStats {
pub phase: Phase,
pub counts: Counts,
pub elapsed: Duration,
pub connections_at_target: usize,
pub completed: bool,
pub cancelled: bool,
}Fields§
§phase: Phase§counts: Counts§elapsed: DurationIncludes drain of all attempts admitted before the phase ended.
connections_at_target: usizeConnection owners that actually wrote the requested pipeline depth.
completed: boolFalse when execution was interrupted by a client/protocol failure.
cancelled: boolImplementations§
Source§impl PhaseStats
impl PhaseStats
pub fn accepted(&self, acceptance: Acceptance) -> bool
pub fn requests_per_sec(&self) -> f64
Trait Implementations§
Source§impl Clone for PhaseStats
impl Clone for PhaseStats
impl Copy for PhaseStats
Auto Trait Implementations§
impl Freeze for PhaseStats
impl RefUnwindSafe for PhaseStats
impl Send for PhaseStats
impl Sync for PhaseStats
impl Unpin for PhaseStats
impl UnsafeUnpin for PhaseStats
impl UnwindSafe for PhaseStats
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