pub struct GCStats {
pub objects_before: usize,
pub objects_after: usize,
pub objects_collected: usize,
pub bytes_before: usize,
pub bytes_after: usize,
pub collection_time_ns: u64,
}Expand description
Statistics from a garbage collection cycle
Fields§
§objects_before: usizeObjects before collection
objects_after: usizeObjects after collection
objects_collected: usizeObjects collected
bytes_before: usizeBytes before collection
bytes_after: usizeBytes after collection
collection_time_ns: u64Collection time in nanoseconds
Trait Implementations§
impl StructuralPartialEq for GCStats
Auto Trait Implementations§
impl Freeze for GCStats
impl RefUnwindSafe for GCStats
impl Send for GCStats
impl Sync for GCStats
impl Unpin for GCStats
impl UnwindSafe for GCStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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