pub enum DelayDoState {
Init,
Disable,
MaybeStandby,
Idle,
Standby,
MaybeWait,
Active,
Waiting,
Action,
}Expand description
States of the delay-do state machine.
Variants§
Implementations§
Source§impl DelayDoState
impl DelayDoState
Sourcepub fn is_transient(self) -> bool
pub fn is_transient(self) -> bool
True where the state’s when clauses are exhaustive, so SNL leaves it
on the same evaluation that entered it rather than waiting for a new
event: init’s pvConnectCount() == pvAssignCount()
(delayDo.st:35), maybeStandby’s standby/active/!standby triple
(:58-74), maybeWait’s active/efTest/!efTest triple (:121-138),
and action’s bare when () (:201). A runner must keep stepping
while this holds.
Sourcepub fn is_published(self) -> bool
pub fn is_published(self) -> bool
True where entering the state writes its name to {P}{R}:state.
maybeStandby and maybeWait are the two exceptions, and
deliberately so — “the state doesn’t last long enough”
(delayDo.st:51-52, :112-113) is why their PVPUTSTR calls are
commented out upstream.
Trait Implementations§
Source§impl Clone for DelayDoState
impl Clone for DelayDoState
impl Copy for DelayDoState
Source§impl Debug for DelayDoState
impl Debug for DelayDoState
Source§impl Display for DelayDoState
impl Display for DelayDoState
impl Eq for DelayDoState
Source§impl PartialEq for DelayDoState
impl PartialEq for DelayDoState
impl StructuralPartialEq for DelayDoState
Auto Trait Implementations§
impl Freeze for DelayDoState
impl RefUnwindSafe for DelayDoState
impl Send for DelayDoState
impl Sync for DelayDoState
impl Unpin for DelayDoState
impl UnsafeUnpin for DelayDoState
impl UnwindSafe for DelayDoState
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§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.