pub enum ErrorKind {
Show 19 variants
Io(Error),
Fmt(Error),
Nul(NulError),
ParseInt(ParseIntError),
Persist(PersistError),
ConfigRead(ReadError),
ConfigWrite(WriteError),
NewStyle(Error),
QuickXml(Error),
Time(SystemTimeError),
Utf8(Utf8Error),
Xdv(XdvError),
Zip(ZipError),
Msg(String),
BadLength(usize, usize),
NotSeekable,
NotSizeable,
PathForbidden(String),
EngineError(&'static str),
// some variants omitted
}
Expand description
The kind of an error.
Variants§
Io(Error)
Fmt(Error)
Nul(NulError)
ParseInt(ParseIntError)
Persist(PersistError)
ConfigRead(ReadError)
ConfigWrite(WriteError)
NewStyle(Error)
QuickXml(Error)
Time(SystemTimeError)
Utf8(Utf8Error)
Xdv(XdvError)
Zip(ZipError)
Msg(String)
A convenient variant for String.
BadLength(usize, usize)
NotSeekable
NotSizeable
PathForbidden(String)
EngineError(&'static str)
Implementations§
Trait Implementations§
source§impl DefinitelySame for ErrorKind
impl DefinitelySame for ErrorKind
fn definitely_same(&self, other: &Self) -> bool
Auto Trait Implementations§
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more