pub enum MachineProtocolPhase {
Prefacing,
Establishing(EstablishmentPhase),
Round {
round: InterlaceRoundId,
phase: RoundPhase,
},
FixedPoint {
round: InterlaceRoundId,
},
Failed,
Closed,
}Variants§
Prefacing
Establishing(EstablishmentPhase)
Round
FixedPoint
Fields
§
round: InterlaceRoundIdFailed
Closed
Implementations§
Source§impl MachineProtocolPhase
impl MachineProtocolPhase
Sourcepub fn timeout_phase(self) -> Option<TimeoutPhase>
pub fn timeout_phase(self) -> Option<TimeoutPhase>
The phase reported if this phase’s deadline expires; None when the
phase has no deadline.
Trait Implementations§
Source§impl Clone for MachineProtocolPhase
impl Clone for MachineProtocolPhase
Source§fn clone(&self) -> MachineProtocolPhase
fn clone(&self) -> MachineProtocolPhase
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 MachineProtocolPhase
Source§impl Debug for MachineProtocolPhase
impl Debug for MachineProtocolPhase
impl Eq for MachineProtocolPhase
Source§impl PartialEq for MachineProtocolPhase
impl PartialEq for MachineProtocolPhase
Source§fn eq(&self, other: &MachineProtocolPhase) -> bool
fn eq(&self, other: &MachineProtocolPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MachineProtocolPhase
Auto Trait Implementations§
impl Freeze for MachineProtocolPhase
impl RefUnwindSafe for MachineProtocolPhase
impl Send for MachineProtocolPhase
impl Sync for MachineProtocolPhase
impl Unpin for MachineProtocolPhase
impl UnsafeUnpin for MachineProtocolPhase
impl UnwindSafe for MachineProtocolPhase
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