Enum tokio_xmpp::ConnecterError
source · pub enum ConnecterError {
AllFailed,
Dns(ProtoError),
Resolve(ResolveError),
}
Expand description
Error establishing connection
Variants§
AllFailed
All attempts failed, no error available
Dns(ProtoError)
DNS protocol error
Resolve(ResolveError)
DNS resolution error
Trait Implementations§
source§impl Debug for ConnecterError
impl Debug for ConnecterError
source§impl Display for ConnecterError
impl Display for ConnecterError
source§impl Error for ConnecterError
impl Error for ConnecterError
1.30.0 · 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<ConnecterError> for Error
impl From<ConnecterError> for Error
source§fn from(e: ConnecterError) -> Self
fn from(e: ConnecterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConnecterError
impl Send for ConnecterError
impl Sync for ConnecterError
impl Unpin for ConnecterError
impl !UnwindSafe for ConnecterError
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