pub enum CuStepPhase {
Whole,
AnytimeBase,
AnytimeRefine,
}Expand description
Which part of its node’s job one plan step runs.
This is deliberately not folded into CuTaskType: that enum encodes the
graph role (Source/Regular/Sink) and drives call-shape decisions everywhere,
while the phase is orthogonal — an anytime node stays Regular and appears
as one base step plus max_refines refine steps (see
expand_anytime_steps).
Variants§
Whole
The whole process() of a non-anytime task.
AnytimeBase
The dead-on-arrival age check plus base(), at the node’s topological
position.
AnytimeRefine
Exactly one refine() quantum.
Trait Implementations§
Source§impl Clone for CuStepPhase
impl Clone for CuStepPhase
Source§fn clone(&self) -> CuStepPhase
fn clone(&self) -> CuStepPhase
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 moreimpl Copy for CuStepPhase
Source§impl Debug for CuStepPhase
impl Debug for CuStepPhase
Source§impl Default for CuStepPhase
impl Default for CuStepPhase
Source§fn default() -> CuStepPhase
fn default() -> CuStepPhase
Returns the “default value” for a type. Read more
impl Eq for CuStepPhase
Source§impl PartialEq for CuStepPhase
impl PartialEq for CuStepPhase
impl StructuralPartialEq for CuStepPhase
Auto Trait Implementations§
impl Freeze for CuStepPhase
impl RefUnwindSafe for CuStepPhase
impl Send for CuStepPhase
impl Sync for CuStepPhase
impl Unpin for CuStepPhase
impl UnsafeUnpin for CuStepPhase
impl UnwindSafe for CuStepPhase
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> GetTypeRegistration for T
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