pub struct AsyncStats {
pub total_executions: usize,
pub successful: usize,
pub failed: usize,
pub timeouts: usize,
pub cancelled: usize,
pub avg_execution_time_ms: f64,
pub peak_concurrent: usize,
}Expand description
Async execution statistics
Fields§
§total_executions: usizeTotal executions started
successful: usizeSuccessful completions
failed: usizeFailed executions
timeouts: usizeTimed out executions
cancelled: usizeCancelled executions
avg_execution_time_ms: f64Average execution time (milliseconds)
peak_concurrent: usizePeak concurrent executions
Implementations§
Trait Implementations§
Source§impl Clone for AsyncStats
impl Clone for AsyncStats
Source§fn clone(&self) -> AsyncStats
fn clone(&self) -> AsyncStats
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 moreSource§impl Debug for AsyncStats
impl Debug for AsyncStats
Source§impl Default for AsyncStats
impl Default for AsyncStats
Source§fn default() -> AsyncStats
fn default() -> AsyncStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AsyncStats
impl RefUnwindSafe for AsyncStats
impl Send for AsyncStats
impl Sync for AsyncStats
impl Unpin for AsyncStats
impl UnwindSafe for AsyncStats
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