pub struct GCResult {
pub bytes_collected: usize,
pub objects_collected: u32,
pub collection_time: Duration,
pub algorithm_used: GCAlgorithm,
pub regions_collected: Vec<usize>,
pub promotion_count: u32,
pub compaction_performed: bool,
pub efficiency_score: f64,
}Expand description
Result of a garbage collection cycle
Fields§
§bytes_collected: usize§objects_collected: u32§collection_time: Duration§algorithm_used: GCAlgorithm§regions_collected: Vec<usize>§promotion_count: u32§compaction_performed: bool§efficiency_score: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for GCResult
impl RefUnwindSafe for GCResult
impl Send for GCResult
impl Sync for GCResult
impl Unpin for GCResult
impl UnsafeUnpin for GCResult
impl UnwindSafe for GCResult
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