Enum ChannelRuntimeState
pub enum ChannelRuntimeState {
Disconnected,
Connecting,
Connected,
RefreshingAuth,
RepullingAuthCode,
Reconnecting,
CircuitOpen,
}Expand description
Coarse runtime state for a backend channel.
Variants§
Disconnected
No usable connection exists.
Connecting
Connection is being established.
Connected
Channel is connected and authorized.
RefreshingAuth
Platform auth refresh is in progress.
RepullingAuthCode
Broker auth-code repull is in progress.
Reconnecting
Channel reconnect is in progress.
CircuitOpen
Circuit is open after repeated transport failures.
Trait Implementations§
§impl Clone for ChannelRuntimeState
impl Clone for ChannelRuntimeState
§fn clone(&self) -> ChannelRuntimeState
fn clone(&self) -> ChannelRuntimeState
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 more§impl Debug for ChannelRuntimeState
impl Debug for ChannelRuntimeState
§impl PartialEq for ChannelRuntimeState
impl PartialEq for ChannelRuntimeState
impl Copy for ChannelRuntimeState
impl Eq for ChannelRuntimeState
impl StructuralPartialEq for ChannelRuntimeState
Auto Trait Implementations§
impl Freeze for ChannelRuntimeState
impl RefUnwindSafe for ChannelRuntimeState
impl Send for ChannelRuntimeState
impl Sync for ChannelRuntimeState
impl Unpin for ChannelRuntimeState
impl UnsafeUnpin for ChannelRuntimeState
impl UnwindSafe for ChannelRuntimeState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more