Enum confluence::rpser::xml::Error [] [src]

pub enum Error {
    NotFoundAtPath {
        path: Vec<String>,
    },
    ExpectedNotEmpty {
        parent: String,
    },
    ExpectedElementWithType {
        name: String,
        expected_type: String,
        given: Option<String>,
    },
    ParseIntError {
        name: String,
        inner: ParseIntError,
    },
    ParseDateTimeError {
        name: String,
        inner: ParseError,
    },
}

Variants

NotFoundAtPath

Element was expected at path, but was not found.

Fields

path
ExpectedNotEmpty

Expected element to contain children.

Fields

parent
ExpectedElementWithType

Expected to find element with specified type.

Fields

name
expected_type
given
ParseIntError

Can't parse received element.

Fields

name
inner
ParseDateTimeError

Can't parse received element.

Fields

name
inner

Trait Implementations

Derived Implementations

impl PartialEq for Error

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

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

impl Debug for Error

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