pub enum ReconnectError {
Session(SessionError),
Detached,
}
Expand description
Errors occurring in a ReconnectHandle
.
Variants§
Session(SessionError)
Some SessionError
has occurred while reconnecting.
Detached
ReconnectHandle
’s Weak
pointer is detached.
Trait Implementations§
Source§impl Caused for ReconnectError
impl Caused for ReconnectError
Source§impl Clone for ReconnectError
impl Clone for ReconnectError
Source§fn clone(&self) -> ReconnectError
fn clone(&self) -> ReconnectError
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 ReconnectError
impl Debug for ReconnectError
Source§impl Display for ReconnectError
impl Display for ReconnectError
Source§impl From<SessionError> for ReconnectError
impl From<SessionError> for ReconnectError
Source§fn from(value: SessionError) -> Self
fn from(value: SessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReconnectError
impl !RefUnwindSafe for ReconnectError
impl !Send for ReconnectError
impl !Sync for ReconnectError
impl Unpin for ReconnectError
impl !UnwindSafe for ReconnectError
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