pub enum DriverPhase {
Idle,
Opening,
Established,
Closing,
Terminated,
}Expand description
Driver lifecycle phase, exposed read-only for adapters and tests.
Variants§
Idle
No open has been commanded.
Opening
The open command was emitted and no Opened event has arrived.
Established
The socket is established.
Closing
A close was commanded and its echoed close event is pending.
Terminated
A terminal fate was minted; every further event is a typed no-op.
Trait Implementations§
Source§impl Clone for DriverPhase
impl Clone for DriverPhase
Source§fn clone(&self) -> DriverPhase
fn clone(&self) -> DriverPhase
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 DriverPhase
Source§impl Debug for DriverPhase
impl Debug for DriverPhase
impl Eq for DriverPhase
Source§impl PartialEq for DriverPhase
impl PartialEq for DriverPhase
impl StructuralPartialEq for DriverPhase
Auto Trait Implementations§
impl Freeze for DriverPhase
impl RefUnwindSafe for DriverPhase
impl Send for DriverPhase
impl Sync for DriverPhase
impl Unpin for DriverPhase
impl UnsafeUnpin for DriverPhase
impl UnwindSafe for DriverPhase
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> 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.