pub struct GarbageCollectionStats {
pub collection_count: usize,
pub total_collection_time: Duration,
pub last_collection_size: usize,
pub average_collection_time: Duration,
}Fields§
§collection_count: usize§total_collection_time: Duration§last_collection_size: usize§average_collection_time: DurationImplementations§
Trait Implementations§
Source§impl Clone for GarbageCollectionStats
impl Clone for GarbageCollectionStats
Source§fn clone(&self) -> GarbageCollectionStats
fn clone(&self) -> GarbageCollectionStats
Returns a copy 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 GarbageCollectionStats
impl Debug for GarbageCollectionStats
Source§impl Default for GarbageCollectionStats
impl Default for GarbageCollectionStats
impl Copy for GarbageCollectionStats
Auto Trait Implementations§
impl Freeze for GarbageCollectionStats
impl RefUnwindSafe for GarbageCollectionStats
impl Send for GarbageCollectionStats
impl Sync for GarbageCollectionStats
impl Unpin for GarbageCollectionStats
impl UnwindSafe for GarbageCollectionStats
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