Enum tokio_xmpp::ProtocolError [−][src]
pub enum ProtocolError {
Parser(ParserError),
Parsers(ParsersError),
NoTls,
InvalidBindResponse,
NoStreamNamespace,
NoStreamId,
InvalidToken,
InvalidStreamStart,
}
Expand description
XMPP protocol-level error
Variants
Parser(ParserError)
Tuple Fields
0: ParserError
XML parser error
Parsers(ParsersError)
Tuple Fields
0: ParsersError
Error with expected stanza schema
NoTls
No TLS available
InvalidBindResponse
Invalid response to resource binding
NoStreamNamespace
No xmlns attribute in stream:stream
NoStreamId
No id attribute in stream:stream
InvalidToken
Encountered an unexpected XML token
InvalidStreamStart
Unexpected stream:stream (shouldn’t occur)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.