pub enum ConnectErrorKind {
ServerParse,
Dns,
Authentication,
AuthorizationViolation,
TimedOut,
Tls,
Io,
MaxReconnects,
}
Variants§
ServerParse
Parsing the passed server address failed.
Dns
DNS related issues.
Authentication
Failed authentication process, signing nonce, etc.
AuthorizationViolation
Server returned authorization violation error.
TimedOut
Connect timed out.
Tls
Erroneous TLS setup.
Io
Other IO error.
MaxReconnects
Reached the maximum number of reconnects.
Trait Implementations§
source§impl Clone for ConnectErrorKind
impl Clone for ConnectErrorKind
source§fn clone(&self) -> ConnectErrorKind
fn clone(&self) -> ConnectErrorKind
Returns a copy of the value. Read more
1.6.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 ConnectErrorKind
impl Debug for ConnectErrorKind
source§impl Display for ConnectErrorKind
impl Display for ConnectErrorKind
source§impl PartialEq for ConnectErrorKind
impl PartialEq for ConnectErrorKind
impl Copy for ConnectErrorKind
impl StructuralPartialEq for ConnectErrorKind
Auto Trait Implementations§
impl Freeze for ConnectErrorKind
impl RefUnwindSafe for ConnectErrorKind
impl Send for ConnectErrorKind
impl Sync for ConnectErrorKind
impl Unpin for ConnectErrorKind
impl UnwindSafe for ConnectErrorKind
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)