Enum bayer::BayerError
source · pub enum BayerError {
NoGood,
WrongResolution,
WrongDepth,
Io(Error),
}
Variants§
Trait Implementations§
source§impl Debug for BayerError
impl Debug for BayerError
source§impl Display for BayerError
impl Display for BayerError
source§impl Error for BayerError
impl Error for BayerError
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for BayerError
impl From<Error> for BayerError
source§fn from(err: Error) -> BayerError
fn from(err: Error) -> BayerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BayerError
impl !RefUnwindSafe for BayerError
impl Send for BayerError
impl Sync for BayerError
impl Unpin for BayerError
impl !UnwindSafe for BayerError
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