pub enum ImgDiffError {
IoError(Error),
ImageError(ImageError),
MpscSendError(SendError<Pair<DiffImage>>),
PathToStringConversionFailed(PathBuf),
}
Expand description
An enumeration of ImgDiff possible Errors
Variants§
IoError(Error)
An I/O Error occurred while decoding the image
ImageError(ImageError)
MpscSendError(SendError<Pair<DiffImage>>)
PathToStringConversionFailed(PathBuf)
Path to string conversion failed
Trait Implementations§
Source§impl Debug for ImgDiffError
impl Debug for ImgDiffError
Source§impl Display for ImgDiffError
impl Display for ImgDiffError
Source§impl From<Error> for ImgDiffError
impl From<Error> for ImgDiffError
Source§fn from(err: Error) -> ImgDiffError
fn from(err: Error) -> ImgDiffError
Converts to this type from the input type.
Source§impl From<ImageError> for ImgDiffError
impl From<ImageError> for ImgDiffError
Source§fn from(err: ImageError) -> ImgDiffError
fn from(err: ImageError) -> ImgDiffError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImgDiffError
impl !RefUnwindSafe for ImgDiffError
impl Send for ImgDiffError
impl Sync for ImgDiffError
impl Unpin for ImgDiffError
impl !UnwindSafe for ImgDiffError
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