pub enum PowerSequenceStatus {
NotScheduled,
Scheduled,
Executing,
Interrupted,
Finished,
Aborted,
}Expand description
How far a container’s chosen sequence has got.
Variants§
NotScheduled
Nothing in this container is scheduled.
Scheduled
The chosen sequence will run in the future.
Executing
It is running.
Interrupted
It is running but paused, and will continue.
Finished
It finished successfully.
Aborted
The device abandoned it; it will not continue.
Implementations§
Source§impl PowerSequenceStatus
impl PowerSequenceStatus
Sourcepub const fn has_selection(self) -> bool
pub const fn has_selection(self) -> bool
Whether a sequence has been chosen at all.
Sourcepub const fn has_started(self) -> bool
pub const fn has_started(self) -> bool
Whether the sequence has started — the condition under which
PowerSequenceContainerStatus::progress must be present.
Trait Implementations§
Source§impl Clone for PowerSequenceStatus
impl Clone for PowerSequenceStatus
Source§fn clone(&self) -> PowerSequenceStatus
fn clone(&self) -> PowerSequenceStatus
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 PowerSequenceStatus
Source§impl Debug for PowerSequenceStatus
impl Debug for PowerSequenceStatus
Source§impl<'de> Deserialize<'de> for PowerSequenceStatus
impl<'de> Deserialize<'de> for PowerSequenceStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PowerSequenceStatus
Source§impl Hash for PowerSequenceStatus
impl Hash for PowerSequenceStatus
Source§impl Ord for PowerSequenceStatus
impl Ord for PowerSequenceStatus
Source§fn cmp(&self, other: &PowerSequenceStatus) -> Ordering
fn cmp(&self, other: &PowerSequenceStatus) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PowerSequenceStatus
impl PartialEq for PowerSequenceStatus
Source§impl PartialOrd for PowerSequenceStatus
impl PartialOrd for PowerSequenceStatus
Source§impl Serialize for PowerSequenceStatus
impl Serialize for PowerSequenceStatus
impl StructuralPartialEq for PowerSequenceStatus
Auto Trait Implementations§
impl Freeze for PowerSequenceStatus
impl RefUnwindSafe for PowerSequenceStatus
impl Send for PowerSequenceStatus
impl Sync for PowerSequenceStatus
impl Unpin for PowerSequenceStatus
impl UnsafeUnpin for PowerSequenceStatus
impl UnwindSafe for PowerSequenceStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.