Enum libimagerror::errors::ErrorMsg
source · pub enum ErrorMsg {
Show 26 variants
IO,
LockError,
UTF8Error,
ExternalProcessError,
FileError,
FileNotCopied,
FileNotCreated,
FileNotFound,
FileNotRemoved,
FileNotRenamed,
FileNotSeeked,
FileNotWritten,
DirNotCreated,
FormatError,
IdLocked,
ConversionError,
EntryAlreadyExists(String),
EntryNotFound(String),
EntryHeaderError,
EntryHeaderTypeError,
EntryHeaderTypeError2(&'static str, &'static str),
EntryHeaderReadError,
EntryHeaderWriteError,
EntryHeaderFieldMissing(&'static str),
TomlDeserError,
TomlQueryError,
}
Variants
IO
LockError
UTF8Error
ExternalProcessError
FileError
FileNotCopied
FileNotCreated
FileNotFound
FileNotRemoved
FileNotRenamed
FileNotSeeked
FileNotWritten
DirNotCreated
FormatError
IdLocked
ConversionError
EntryAlreadyExists(String)
EntryNotFound(String)
EntryHeaderError
EntryHeaderTypeError
EntryHeaderTypeError2(&'static str, &'static str)
EntryHeaderReadError
EntryHeaderWriteError
EntryHeaderFieldMissing(&'static str)
TomlDeserError
TomlQueryError
Trait Implementations
sourceimpl Fail for ErrorMsg
impl Fail for ErrorMsg
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreimpl Eq for ErrorMsg
impl StructuralEq for ErrorMsg
impl StructuralPartialEq for ErrorMsg
Auto Trait Implementations
impl RefUnwindSafe for ErrorMsg
impl Send for ErrorMsg
impl Sync for ErrorMsg
impl Unpin for ErrorMsg
impl UnwindSafe for ErrorMsg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more