pub type Error = Error;
Aliased Type§
enum Error {
Io(Error),
JidParse(Error),
Protocol(ProtocolError),
Auth(AuthError),
Disconnected,
InvalidState,
Fmt(Error),
Utf8(Utf8Error),
Connection(Box<dyn ServerConnectorError>),
}
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 resolving DNS and/or establishing a connection, returned by a ServerConnector impl