pub struct PerformanceReport { /* private fields */ }Expand description
Performance report data
Implementations§
Source§impl PerformanceReport
impl PerformanceReport
Sourcepub fn total_requests(&self) -> usize
pub fn total_requests(&self) -> usize
Get total requests
Sourcepub fn average_response_time(&self) -> Duration
pub fn average_response_time(&self) -> Duration
Get average response time
Sourcepub fn min_response_time(&self) -> Duration
pub fn min_response_time(&self) -> Duration
Get minimum response time
Sourcepub fn max_response_time(&self) -> Duration
pub fn max_response_time(&self) -> Duration
Get maximum response time
Sourcepub fn p95_response_time(&self) -> Duration
pub fn p95_response_time(&self) -> Duration
Get 95th percentile response time
Sourcepub fn p99_response_time(&self) -> Duration
pub fn p99_response_time(&self) -> Duration
Get 99th percentile response time
Sourcepub fn total_bytes_transferred(&self) -> usize
pub fn total_bytes_transferred(&self) -> usize
Get total bytes transferred
Trait Implementations§
Source§impl Clone for PerformanceReport
impl Clone for PerformanceReport
Source§fn clone(&self) -> PerformanceReport
fn clone(&self) -> PerformanceReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PerformanceReport
impl RefUnwindSafe for PerformanceReport
impl Send for PerformanceReport
impl Sync for PerformanceReport
impl Unpin for PerformanceReport
impl UnwindSafe for PerformanceReport
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