pub struct ProtocolPhaseToken { /* private fields */ }Expand description
Opaque identity for one stable machine phase and its owning interlace.
Implementations§
Source§impl ProtocolPhaseToken
impl ProtocolPhaseToken
pub fn phase(self) -> MachineProtocolPhase
Trait Implementations§
Source§impl Clone for ProtocolPhaseToken
impl Clone for ProtocolPhaseToken
Source§fn clone(&self) -> ProtocolPhaseToken
fn clone(&self) -> ProtocolPhaseToken
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 ProtocolPhaseToken
Source§impl Debug for ProtocolPhaseToken
impl Debug for ProtocolPhaseToken
impl Eq for ProtocolPhaseToken
Source§impl PartialEq for ProtocolPhaseToken
impl PartialEq for ProtocolPhaseToken
Source§fn eq(&self, other: &ProtocolPhaseToken) -> bool
fn eq(&self, other: &ProtocolPhaseToken) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolPhaseToken
Auto Trait Implementations§
impl Freeze for ProtocolPhaseToken
impl RefUnwindSafe for ProtocolPhaseToken
impl Send for ProtocolPhaseToken
impl Sync for ProtocolPhaseToken
impl Unpin for ProtocolPhaseToken
impl UnsafeUnpin for ProtocolPhaseToken
impl UnwindSafe for ProtocolPhaseToken
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