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.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 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