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§impl Debug for AsyncStats
impl Debug for AsyncStats
Auto Trait Implementations§
impl Freeze for AsyncStats
impl RefUnwindSafe for AsyncStats
impl Send for AsyncStats
impl Sync for AsyncStats
impl Unpin for AsyncStats
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more