pub enum CaTrigPhase {
Idle,
AwaitingCallback,
}Expand description
Which pass of an asynchronous (CA-link) TRIG readback an epid record
is in — the port’s pepid->pact for the trigger path.
Two variants rather than a bool because the state has exactly one owner and one transition each way; a bool invited a second copy of it to live in the device support, where the record could not see it.
Variants§
Idle
No trigger outstanding. The next process pass may fire one.
AwaitingCallback
A dbCaPutLinkCallback-equivalent trigger is outstanding; the
next pass is the callback pass and must run the PID, not
re-trigger.
Trait Implementations§
Source§impl Clone for CaTrigPhase
impl Clone for CaTrigPhase
Source§fn clone(&self) -> CaTrigPhase
fn clone(&self) -> CaTrigPhase
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 CaTrigPhase
Source§impl Debug for CaTrigPhase
impl Debug for CaTrigPhase
Source§impl Default for CaTrigPhase
impl Default for CaTrigPhase
Source§fn default() -> CaTrigPhase
fn default() -> CaTrigPhase
Returns the “default value” for a type. Read more
impl Eq for CaTrigPhase
Source§impl PartialEq for CaTrigPhase
impl PartialEq for CaTrigPhase
impl StructuralPartialEq for CaTrigPhase
Auto Trait Implementations§
impl Freeze for CaTrigPhase
impl RefUnwindSafe for CaTrigPhase
impl Send for CaTrigPhase
impl Sync for CaTrigPhase
impl Unpin for CaTrigPhase
impl UnsafeUnpin for CaTrigPhase
impl UnwindSafe for CaTrigPhase
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.