[][src]Enum quick_xml::de::DeError

pub enum DeError {
    Custom(String),
    Int(ParseIntError),
    Float(ParseFloatError),
    Xml(Error),
    EndOfAttributes,
    Eof,
    InvalidBoolean(String),
    InvalidUnit(String),
    InvalidEnum(Event<'static>),
    Text,
    Start,
    End,
}

Deserialization error

Variants

Custom(String)

Serde custom error

Cannot parse to integer

Cannot parse to float

Xml(Error)

Xml parsing error

EndOfAttributes

Unexpected end of attributes

Eof

Unexpected end of file

InvalidBoolean(String)

Invalid value for a boolean

InvalidUnit(String)

Invalid unit value

InvalidEnum(Event<'static>)

Invalid event for Enum

Text

Expecting Text event

Start

Expecting Start event

End

Expecting End event

Trait Implementations

impl From<Error> for DeError[src]

impl From<ParseIntError> for DeError[src]

impl From<ParseFloatError> for DeError[src]

impl Debug for DeError[src]

impl Display for DeError[src]

impl Error for DeError[src]

impl Error for DeError[src]

Auto Trait Implementations

impl Send for DeError

impl Sync for DeError

impl Unpin for DeError

impl !UnwindSafe for DeError

impl !RefUnwindSafe for DeError

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]