pub struct GenerationalHeapStats {
pub generations: Vec<GenerationStats>,
pub total_current_size: usize,
pub total_max_size: usize,
pub total_utilization: f64,
pub total_promotions: usize,
pub total_demotions: usize,
pub should_collect_minor: bool,
pub should_collect_major: bool,
}Expand description
Comprehensive statistics for the generational heap
Fields§
§generations: Vec<GenerationStats>§total_current_size: usize§total_max_size: usize§total_utilization: f64§total_promotions: usize§total_demotions: usize§should_collect_minor: bool§should_collect_major: boolImplementations§
Trait Implementations§
Source§impl Clone for GenerationalHeapStats
impl Clone for GenerationalHeapStats
Source§fn clone(&self) -> GenerationalHeapStats
fn clone(&self) -> GenerationalHeapStats
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 GenerationalHeapStats
impl RefUnwindSafe for GenerationalHeapStats
impl Send for GenerationalHeapStats
impl Sync for GenerationalHeapStats
impl Unpin for GenerationalHeapStats
impl UnwindSafe for GenerationalHeapStats
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