pub struct GcResult {
pub blocks_collected: u64,
pub bytes_freed: u64,
pub blocks_marked: u64,
pub blocks_scanned: u64,
pub duration: Duration,
pub interrupted: bool,
pub errors: Vec<String>,
}Expand description
Result of a GC run
Fields§
§blocks_collected: u64Number of blocks collected (deleted)
bytes_freed: u64Bytes freed
blocks_marked: u64Number of blocks marked as reachable
blocks_scanned: u64Number of blocks scanned
duration: DurationDuration of the GC run
interrupted: boolWhether GC was interrupted (time limit, etc.)
errors: Vec<String>Errors encountered during GC (non-fatal)
Trait 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 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> 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