Enum tokio_xmpp::ProtocolError[][src]

pub enum ProtocolError {
    Parser(ParserError),
    Parsers(ParsersError),
    NoTls,
    InvalidBindResponse,
    NoStreamNamespace,
    NoStreamId,
    InvalidToken,
}

XMPP protocol-level error

Variants

XML parser error

Error with expected stanza schema

No TLS available

Invalid response to resource binding

No xmlns attribute in <stream:stream>

No id attribute in <stream:stream>

Encountered an unexpected XML token

Trait Implementations

impl From<ProtocolError> for Error
[src]

Performs the conversion.

impl Debug for ProtocolError
[src]

Formats the value using the given formatter. Read more

impl Display for ProtocolError
[src]

Formats the value using the given formatter. Read more

impl Error for ProtocolError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<ParserError> for ProtocolError
[src]

Performs the conversion.

impl From<ParsersError> for ProtocolError
[src]

Performs the conversion.

Auto Trait Implementations