Struct igd::XmlError
[−]
[src]
pub struct XmlError { /* 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]
fn msg(&self) -> &str
[src]
Returns a reference to a message which is contained inside this error.
fn kind(&self) -> &ErrorKind
[src]
Trait Implementations
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<CharReadError> for Error
[src]
impl From<Error> for Error
[src]
impl<'a, P, M> From<(&'a P, M)> for Error where
M: Into<Cow<'static, str>>,
P: Position,
[src]
M: Into<Cow<'static, str>>,
P: Position,
impl PartialEq<Error> for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more