pub enum StepOutcome {
Paused,
InProgress,
SkippedStopped,
}Expand description
Outcome of one call to Heap::incremental_step_with_post_mark.
Variants§
Paused
The step finished a cycle. The heap is back at GcState::Pause.
InProgress
The step performed work but the cycle is not finished. Caller may step again.
SkippedStopped
The heap is paused (via [Heap::pause]) or the caller asked for zero
budget while no cycle was in progress and no work was needed.
Trait Implementations§
Source§impl Clone for StepOutcome
impl Clone for StepOutcome
Source§fn clone(&self) -> StepOutcome
fn clone(&self) -> StepOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StepOutcome
impl Debug for StepOutcome
Source§impl PartialEq for StepOutcome
impl PartialEq for StepOutcome
Source§fn eq(&self, other: &StepOutcome) -> bool
fn eq(&self, other: &StepOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StepOutcome
impl Eq for StepOutcome
impl StructuralPartialEq for StepOutcome
Auto Trait Implementations§
impl Freeze for StepOutcome
impl RefUnwindSafe for StepOutcome
impl Send for StepOutcome
impl Sync for StepOutcome
impl Unpin for StepOutcome
impl UnsafeUnpin for StepOutcome
impl UnwindSafe for StepOutcome
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