pub enum CollectResult {
InProgress,
Complete(SweepStats),
}Expand description
Result of an incremental collection step.
Variants§
InProgress
Marking is still in progress; call collect_incremental again.
Complete(SweepStats)
A full cycle completed (mark + sweep).
Trait Implementations§
Source§impl Clone for CollectResult
impl Clone for CollectResult
Source§fn clone(&self) -> CollectResult
fn clone(&self) -> CollectResult
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 moreSource§impl Debug for CollectResult
impl Debug for CollectResult
Source§impl PartialEq for CollectResult
impl PartialEq for CollectResult
impl Eq for CollectResult
impl StructuralPartialEq for CollectResult
Auto Trait Implementations§
impl Freeze for CollectResult
impl RefUnwindSafe for CollectResult
impl Send for CollectResult
impl Sync for CollectResult
impl Unpin for CollectResult
impl UnsafeUnpin for CollectResult
impl UnwindSafe for CollectResult
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