pub struct AsyncOperationStats {
pub total_operations: u64,
pub completed_operations: u64,
pub cancelled_operations: u64,
pub timeout_operations: u64,
pub peak_memory_usage: u64,
pub active_operations: u64,
pub total_bytes_read: u64,
}Available on crate feature
async only.Expand description
Statistics snapshot for async operations
Fields§
§total_operations: u64Total number of operations started
completed_operations: u64Number of completed operations
cancelled_operations: u64Number of cancelled operations
timeout_operations: u64Number of timeout operations
peak_memory_usage: u64Peak memory usage during operations
active_operations: u64Current active operations
total_bytes_read: u64Total bytes read across all operations
Trait Implementations§
Source§impl Clone for AsyncOperationStats
impl Clone for AsyncOperationStats
Source§fn clone(&self) -> AsyncOperationStats
fn clone(&self) -> AsyncOperationStats
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 AsyncOperationStats
impl RefUnwindSafe for AsyncOperationStats
impl Send for AsyncOperationStats
impl Sync for AsyncOperationStats
impl Unpin for AsyncOperationStats
impl UnwindSafe for AsyncOperationStats
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
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