pub type Error = Error;
Aliased Type§
enum Error {
Show 13 variants
Io(Error),
JidParse(Error),
Protocol(ProtocolError),
Auth(AuthError),
Disconnected,
InvalidState,
Fmt(Error),
Utf8(Utf8Error),
Connection(Box<dyn ServerConnectorError>),
Dns(ProtoError),
Resolve(ResolveError),
Idna,
Addr(AddrParseError),
}
Variants§
Io(Error)
I/O error
JidParse(Error)
Error parsing Jabber-Id
Protocol(ProtocolError)
Protocol-level error
Auth(AuthError)
Authentication error
Disconnected
Connection closed
InvalidState
Should never happen
Fmt(Error)
Fmt error
Utf8(Utf8Error)
Utf8 error
Connection(Box<dyn ServerConnectorError>)
Error specific to ServerConnector impl
Dns(ProtoError)
DNS protocol error
Resolve(ResolveError)
DNS resolution error
Idna
DNS label conversion error, no details available from module
idna
Addr(AddrParseError)
Invalid IP/Port address