pub enum ErrorKind {
ImageNotFound,
CoreFoundation,
Opencv(Error),
}
Expand description
Enumeration of different error kinds.
Variants§
ImageNotFound
Occurs when template is not found in the window.
CoreFoundation
Occurs when error is raised at CoreFoundation level.
Opencv(Error)
Allows to raise OpenCV errors directly.
Trait Implementations§
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