Struct xml::reader::Error [] [src]

pub struct Error { /* fields omitted */ }

An XML parsing error.

Consists of a 2D position in a document and a textual message describing the error.

Methods

impl Error
[src]

[src]

Returns a reference to a message which is contained inside this error.

[src]

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Error
[src]

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Position for Error
[src]

[src]

Returns the current position or a position corresponding to the object.

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl<'a, P, M> From<(&'a P, M)> for Error where
    P: Position,
    M: Into<Cow<'static, str>>, 
[src]

[src]

Performs the conversion.

impl From<CharReadError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.