[−][src]Enum evtclib::EvtcError
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
.
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]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<ParseError> for EvtcError
[src]
fn from(source: ParseError) -> Self
[src]
impl From<Utf8Error> for EvtcError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for EvtcError
impl Send for EvtcError
impl Sync for EvtcError
impl Unpin for EvtcError
impl !UnwindSafe for EvtcError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,