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 !UnwindSafe for ErrorKind
impl Freeze for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin 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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.