pub enum PvConnectionState {
Idle,
Connecting,
Connected,
Disconnected,
}Expand description
Discrete connection state for getPVDetails (Java parity dea7acb).
Distinguishes never-connected from connecting from confirmed-down.
Variants§
Idle
No connection attempt has been made (or none has progressed
past wait_connected yet).
Connecting
Currently waiting on wait_connected for the first time on
this channel handle.
Connected
Channel has reported a successful connect; samples are flowing or the channel is otherwise live.
Disconnected
Channel reported connect at least once but the monitor loop has
since dropped — distinct from Idle so operators can spot a
regression vs a never-resolved name.
Implementations§
Trait Implementations§
Source§impl Clone for PvConnectionState
impl Clone for PvConnectionState
Source§fn clone(&self) -> PvConnectionState
fn clone(&self) -> PvConnectionState
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 moreSource§impl Debug for PvConnectionState
impl Debug for PvConnectionState
Source§impl Default for PvConnectionState
impl Default for PvConnectionState
Source§fn default() -> PvConnectionState
fn default() -> PvConnectionState
Returns the “default value” for a type. Read more
Source§impl PartialEq for PvConnectionState
impl PartialEq for PvConnectionState
Source§fn eq(&self, other: &PvConnectionState) -> bool
fn eq(&self, other: &PvConnectionState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PvConnectionState
impl Eq for PvConnectionState
impl StructuralPartialEq for PvConnectionState
Auto Trait Implementations§
impl Freeze for PvConnectionState
impl RefUnwindSafe for PvConnectionState
impl Send for PvConnectionState
impl Sync for PvConnectionState
impl Unpin for PvConnectionState
impl UnsafeUnpin for PvConnectionState
impl UnwindSafe for PvConnectionState
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§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.