[][src]Enum evtclib::EvtcError

pub enum EvtcError {
    ParseError(ParseError),
    InvalidData,
    InvalidProfession(u32),
    InvalidEliteSpec(u32),
    Utf8Error(Utf8Error),
}

Any error that can occur during the processing of evtc files.

Variants

ParseError(ParseError)

Error for underlying parser errors.

This should never be returned from process, only from process_stream and process_file.

InvalidData

Generic error for invalid data in the evtc file.

InvalidProfession(u32)

The profession id is not known.

The field contains the unknown profession id.

InvalidEliteSpec(u32)

The elite specialization id is not known.

The field contains the unknown elite specialization id.

Utf8Error(Utf8Error)

The file contains invalid utf-8.

Trait Implementations

impl Debug for EvtcError[src]

impl Display for EvtcError[src]

impl Error for EvtcError[src]

impl From<ParseError> for EvtcError[src]

impl From<Utf8Error> for EvtcError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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 = Infallible

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.