Enum zookeeper_client::ConnectError
source · pub enum ConnectError {
BadArguments(&'static &'static str),
AuthFailed,
NoHosts,
Timeout,
Other(Box<dyn Error + Send + Sync>),
}
Expand description
Errors for client connecting.
Variants§
Trait Implementations§
source§impl Debug for ConnectError
impl Debug for ConnectError
source§impl Display for ConnectError
impl Display for ConnectError
source§impl Error for ConnectError
impl Error for ConnectError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<Error> for ConnectError
impl From<Error> for ConnectError
source§fn from(err: Error) -> ConnectError
fn from(err: Error) -> ConnectError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl !UnwindSafe for ConnectError
Blanket Implementations§
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more