pub enum Error {
Show 14 variants
TagReadFailure(TagReadFailure),
TagWriteFailure(TagWriteFailure),
CommentNotFound(CommentNotFound),
AmbiguousCommentChoices(AmbiguousCommentChoices),
PictureTypeNotFound(PictureTypeNotFound),
PictureNotFound(PictureNotFound),
AmbiguousPictureChoices(AmbiguousPictureChoices),
DeserializationFailure(DeserializationFailure),
PictureFileWriteFailure(PictureFileWriteFailure),
OutputDirCreationFailure(OutputDirCreationFailure),
InvalidFilePath(InvalidFilePath),
FileReadFailure(FileReadFailure),
DirCreationFailure(DirCreationFailure),
BackupFailure(BackupFailure),
}Variants
TagReadFailure(TagReadFailure)
TagWriteFailure(TagWriteFailure)
CommentNotFound(CommentNotFound)
AmbiguousCommentChoices(AmbiguousCommentChoices)
PictureTypeNotFound(PictureTypeNotFound)
PictureNotFound(PictureNotFound)
AmbiguousPictureChoices(AmbiguousPictureChoices)
DeserializationFailure(DeserializationFailure)
PictureFileWriteFailure(PictureFileWriteFailure)
OutputDirCreationFailure(OutputDirCreationFailure)
InvalidFilePath(InvalidFilePath)
FileReadFailure(FileReadFailure)
DirCreationFailure(DirCreationFailure)
BackupFailure(BackupFailure)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<AmbiguousCommentChoices> for Error
impl From<AmbiguousCommentChoices> for Error
sourcefn from(original: AmbiguousCommentChoices) -> Error
fn from(original: AmbiguousCommentChoices) -> Error
Converts to this type from the input type.
sourceimpl From<AmbiguousPictureChoices> for Error
impl From<AmbiguousPictureChoices> for Error
sourcefn from(original: AmbiguousPictureChoices) -> Error
fn from(original: AmbiguousPictureChoices) -> Error
Converts to this type from the input type.
sourceimpl From<BackupFailure> for Error
impl From<BackupFailure> for Error
sourcefn from(original: BackupFailure) -> Error
fn from(original: BackupFailure) -> Error
Converts to this type from the input type.
sourceimpl From<CommentNotFound> for Error
impl From<CommentNotFound> for Error
sourcefn from(original: CommentNotFound) -> Error
fn from(original: CommentNotFound) -> Error
Converts to this type from the input type.
sourceimpl From<DeserializationFailure> for Error
impl From<DeserializationFailure> for Error
sourcefn from(original: DeserializationFailure) -> Error
fn from(original: DeserializationFailure) -> Error
Converts to this type from the input type.
sourceimpl From<DirCreationFailure> for Error
impl From<DirCreationFailure> for Error
sourcefn from(original: DirCreationFailure) -> Error
fn from(original: DirCreationFailure) -> Error
Converts to this type from the input type.
sourceimpl From<FileReadFailure> for Error
impl From<FileReadFailure> for Error
sourcefn from(original: FileReadFailure) -> Error
fn from(original: FileReadFailure) -> Error
Converts to this type from the input type.
sourceimpl From<InvalidFilePath> for Error
impl From<InvalidFilePath> for Error
sourcefn from(original: InvalidFilePath) -> Error
fn from(original: InvalidFilePath) -> Error
Converts to this type from the input type.
sourceimpl From<OutputDirCreationFailure> for Error
impl From<OutputDirCreationFailure> for Error
sourcefn from(original: OutputDirCreationFailure) -> Error
fn from(original: OutputDirCreationFailure) -> Error
Converts to this type from the input type.
sourceimpl From<PictureFileWriteFailure> for Error
impl From<PictureFileWriteFailure> for Error
sourcefn from(original: PictureFileWriteFailure) -> Error
fn from(original: PictureFileWriteFailure) -> Error
Converts to this type from the input type.
sourceimpl From<PictureNotFound> for Error
impl From<PictureNotFound> for Error
sourcefn from(original: PictureNotFound) -> Error
fn from(original: PictureNotFound) -> Error
Converts to this type from the input type.
sourceimpl From<PictureTypeNotFound> for Error
impl From<PictureTypeNotFound> for Error
sourcefn from(original: PictureTypeNotFound) -> Error
fn from(original: PictureTypeNotFound) -> Error
Converts to this type from the input type.
sourceimpl From<TagReadFailure> for Error
impl From<TagReadFailure> for Error
sourcefn from(original: TagReadFailure) -> Error
fn from(original: TagReadFailure) -> Error
Converts to this type from the input type.
sourceimpl From<TagWriteFailure> for Error
impl From<TagWriteFailure> for Error
sourcefn from(original: TagWriteFailure) -> Error
fn from(original: TagWriteFailure) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<X> Pipe for X
impl<X> Pipe for X
sourcefn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
fn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
Apply f to self. Read more
sourcefn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
Apply f to &self. Read more
sourcefn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return,
Apply f to &mut self. Read more
sourcefn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read more
sourcefn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return where
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return where
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read more
sourcefn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read more
sourcefn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait [DerefMut<Target = Param>]. Read more
sourcefn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read more
sourcefn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more