Enum async_nats::ConnectErrorKind
source · pub enum ConnectErrorKind {
ServerParse,
Dns,
Authentication,
AuthorizationViolation,
TimedOut,
Tls,
Io,
}
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.
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 PartialEq<ConnectErrorKind> for ConnectErrorKind
impl PartialEq<ConnectErrorKind> for ConnectErrorKind
source§fn eq(&self, other: &ConnectErrorKind) -> bool
fn eq(&self, other: &ConnectErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.