pub enum EventConnectionState {
Connected,
Disconnected,
Reconnecting,
Recovered,
}Expand description
Connection lifecycle state emitted by a reconnecting event subscriber.
Variants§
Connected
A first subscription became ready.
Disconnected
An established subscription stopped or could not be opened.
Reconnecting
The subscriber is waiting before another connection attempt.
Recovered
A subscription recovered after a previous disconnect.
Implementations§
Trait Implementations§
Source§impl Clone for EventConnectionState
impl Clone for EventConnectionState
Source§fn clone(&self) -> EventConnectionState
fn clone(&self) -> EventConnectionState
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 EventConnectionState
impl Debug for EventConnectionState
Source§impl PartialEq for EventConnectionState
impl PartialEq for EventConnectionState
Source§fn eq(&self, other: &EventConnectionState) -> bool
fn eq(&self, other: &EventConnectionState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EventConnectionState
impl Eq for EventConnectionState
impl StructuralPartialEq for EventConnectionState
Auto Trait Implementations§
impl Freeze for EventConnectionState
impl RefUnwindSafe for EventConnectionState
impl Send for EventConnectionState
impl Sync for EventConnectionState
impl Unpin for EventConnectionState
impl UnsafeUnpin for EventConnectionState
impl UnwindSafe for EventConnectionState
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