pub enum ExecutionPhase {
First,
Normal,
Last,
}
Expand description
An enum to indicate the phase for plans at a given time.
Most plans will occur as Normal
. Plans with phase First
are
handled before all Normal
plans, and those with phase Last
are
handled after all Normal
plans. In all cases ties between plans at the
same time and with the same phase are handled in the order of scheduling.
Variants§
Trait Implementations§
Source§impl Clone for ExecutionPhase
impl Clone for ExecutionPhase
Source§fn clone(&self) -> ExecutionPhase
fn clone(&self) -> ExecutionPhase
Returns a copy 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 ExecutionPhase
impl Debug for ExecutionPhase
Source§impl Display for ExecutionPhase
impl Display for ExecutionPhase
Source§impl Hash for ExecutionPhase
impl Hash for ExecutionPhase
Source§impl Ord for ExecutionPhase
impl Ord for ExecutionPhase
Source§fn cmp(&self, other: &ExecutionPhase) -> Ordering
fn cmp(&self, other: &ExecutionPhase) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExecutionPhase
impl PartialEq for ExecutionPhase
Source§impl PartialOrd for ExecutionPhase
impl PartialOrd for ExecutionPhase
impl Copy for ExecutionPhase
impl Eq for ExecutionPhase
impl StructuralPartialEq for ExecutionPhase
Auto Trait Implementations§
impl Freeze for ExecutionPhase
impl RefUnwindSafe for ExecutionPhase
impl Send for ExecutionPhase
impl Sync for ExecutionPhase
impl Unpin for ExecutionPhase
impl UnwindSafe for ExecutionPhase
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.