Enum tokio_xmpp::ParserError[][src]

pub enum ParserError {
    Utf8(Utf8Error),
    Parse(ParseError),
    ShortTag,
    Io(IoError),
}
Expand description

Causes for stream parsing errors

Variants

Utf8(Utf8Error)

Tuple Fields

Encoding error

Parse(ParseError)

Tuple Fields

XML parse error

ShortTag

Illegal </>

Io(IoError)

Tuple Fields

Required by impl Decoder

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.