Struct igd::XmlError []

pub struct XmlError {
    // some fields omitted
}

XML parsing error.

Consists of a position and a message.

Methods

impl Error

fn new<O>(o: &O, msg: String) -> Error where O: Position

Creates a new error using position information from the provided Position object and a message.

fn msg(&'a self) -> &'a str

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

Trait Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Eq for Error

impl PartialEq<Error> for Error

fn eq(&self, __arg_0: &Error) -> bool

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

fn ne(&self, __arg_0: &Error) -> bool

This method tests for !=.

impl Clone for Error

fn clone(&self) -> Error

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Position for Error

fn position(&self) -> TextPosition

impl Error for Error

fn description(&self) -> &str