Enum tokio_xmpp::Error [−][src]
pub enum Error {
Io(IoError),
Connection(ConnecterError),
Idna,
JidParse(JidParseError),
Protocol(ProtocolError),
Auth(AuthError),
Tls(TlsError),
Disconnected,
InvalidState,
}
Expand description
Top-level error type
Variants
Io(IoError)
Tuple Fields
0: IoError
I/O error
Connection(ConnecterError)
Tuple Fields
Error resolving DNS and establishing a connection
Idna
DNS label conversion error, no details available from module
idna
JidParse(JidParseError)
Error parsing Jabber-Id
Protocol(ProtocolError)
Tuple Fields
Protocol-level error
Auth(AuthError)
Tuple Fields
0: AuthError
Authentication error
Tls(TlsError)
Tuple Fields
0: TlsError
TLS error
Disconnected
Connection closed
InvalidState
Shoud never happen
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.