pub type ConnectError = Error<ConnectErrorKind>;
Expand description
Returned when initial connection fails. To be enumerate over the variants, call ConnectError::kind.
Aliased Type§
struct ConnectError { /* private fields */ }
Implementations
Trait Implementations§
Source§impl From<Error> for ConnectError
impl From<Error> for ConnectError
Source§impl<Kind> Error for Error<Kind>
impl<Kind> Error for Error<Kind>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()