pub struct CollectionEvent {
pub timestamp: Instant,
pub collection_type: CollectionType,
pub duration: Duration,
pub objects_collected: usize,
pub bytes_collected: usize,
pub heap_size_before: usize,
pub heap_size_after: usize,
pub promotion_count: usize,
}Expand description
Information about a single garbage collection event
Fields§
§timestamp: Instant§collection_type: CollectionType§duration: Duration§objects_collected: usize§bytes_collected: usize§heap_size_before: usize§heap_size_after: usize§promotion_count: usizeTrait Implementations§
Source§impl Clone for CollectionEvent
impl Clone for CollectionEvent
Source§fn clone(&self) -> CollectionEvent
fn clone(&self) -> CollectionEvent
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 CollectionEvent
impl RefUnwindSafe for CollectionEvent
impl Send for CollectionEvent
impl Sync for CollectionEvent
impl Unpin for CollectionEvent
impl UnwindSafe for CollectionEvent
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