pub enum ReconnectState {
Parked,
PermitOutstanding,
AttemptInProgress,
Online,
}Expand description
Reconnect lifecycle state reported without exposing permit identity.
Variants§
Parked
No authorization or attempt is outstanding.
PermitOutstanding
One fresh-event permit is outstanding.
AttemptInProgress
One real connection attempt is in progress.
Online
The connection is proved online.
Trait Implementations§
Source§impl Clone for ReconnectState
impl Clone for ReconnectState
Source§fn clone(&self) -> ReconnectState
fn clone(&self) -> ReconnectState
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 moreimpl Copy for ReconnectState
Source§impl Debug for ReconnectState
impl Debug for ReconnectState
impl Eq for ReconnectState
Source§impl PartialEq for ReconnectState
impl PartialEq for ReconnectState
impl StructuralPartialEq for ReconnectState
Auto Trait Implementations§
impl Freeze for ReconnectState
impl RefUnwindSafe for ReconnectState
impl Send for ReconnectState
impl Sync for ReconnectState
impl Unpin for ReconnectState
impl UnsafeUnpin for ReconnectState
impl UnwindSafe for ReconnectState
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