Enum ChannelRuntimeEvent
pub enum ChannelRuntimeEvent {
Connected,
AuthorizationExpired,
AuthRecovered,
TransportFailure,
BackendBusinessError,
ConsecutiveTransportFailures {
count: u32,
},
}Expand description
Runtime event consumed by the pure state model.
Variants§
Connected
TCP/channel connection succeeded.
AuthorizationExpired
Server reported authorization expiry.
AuthRecovered
Auth refresh or broker auth-code repull succeeded.
TransportFailure
Transport or heartbeat failed and reconnect should start.
BackendBusinessError
Backend returned a business error that should not poison channel health.
ConsecutiveTransportFailures
Consecutive transport failures reached a caller-counted threshold.
Trait Implementations§
§impl Clone for ChannelRuntimeEvent
impl Clone for ChannelRuntimeEvent
§fn clone(&self) -> ChannelRuntimeEvent
fn clone(&self) -> ChannelRuntimeEvent
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 ChannelRuntimeEvent
impl Debug for ChannelRuntimeEvent
§impl PartialEq for ChannelRuntimeEvent
impl PartialEq for ChannelRuntimeEvent
impl Copy for ChannelRuntimeEvent
impl Eq for ChannelRuntimeEvent
impl StructuralPartialEq for ChannelRuntimeEvent
Auto Trait Implementations§
impl Freeze for ChannelRuntimeEvent
impl RefUnwindSafe for ChannelRuntimeEvent
impl Send for ChannelRuntimeEvent
impl Sync for ChannelRuntimeEvent
impl Unpin for ChannelRuntimeEvent
impl UnsafeUnpin for ChannelRuntimeEvent
impl UnwindSafe for ChannelRuntimeEvent
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