pub struct ResourceStats {
pub active_count: usize,
pub total_acquired: u64,
pub total_released: u64,
pub peak_usage: usize,
}
Expand description
Resource usage statistics
Fields§
§active_count: usize
§total_acquired: u64
§total_released: u64
§peak_usage: usize
Trait Implementations§
Source§impl Clone for ResourceStats
impl Clone for ResourceStats
Source§fn clone(&self) -> ResourceStats
fn clone(&self) -> ResourceStats
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 ResourceStats
impl RefUnwindSafe for ResourceStats
impl Send for ResourceStats
impl Sync for ResourceStats
impl Unpin for ResourceStats
impl UnwindSafe for ResourceStats
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