pub enum BridgeState {
Disconnected,
Connecting,
Connected,
Authenticated,
ShuttingDown,
}Expand description
Bridge state
Variants§
Disconnected
Not connected to the backend.
Connecting
Connection in progress.
Connected
Connected but not yet authenticated.
Authenticated
Successfully authenticated with the backend.
ShuttingDown
Gracefully shutting down.
Trait Implementations§
Source§impl Clone for BridgeState
impl Clone for BridgeState
Source§fn clone(&self) -> BridgeState
fn clone(&self) -> BridgeState
Returns a duplicate of the value. Read more
1.0.0 · 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 BridgeState
impl Debug for BridgeState
Source§impl PartialEq for BridgeState
impl PartialEq for BridgeState
impl Copy for BridgeState
impl Eq for BridgeState
impl StructuralPartialEq for BridgeState
Auto Trait Implementations§
impl Freeze for BridgeState
impl RefUnwindSafe for BridgeState
impl Send for BridgeState
impl Sync for BridgeState
impl Unpin for BridgeState
impl UnsafeUnpin for BridgeState
impl UnwindSafe for BridgeState
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.