pub enum PlaneError {
InvalidPlane {
width: u16,
height: u16,
channels: u8,
},
}
Expand description
Error type for the PlaneSize
struct
Variants§
Trait Implementations§
Source§impl Debug for PlaneError
impl Debug for PlaneError
Source§impl Display for PlaneError
impl Display for PlaneError
Source§impl Error for PlaneError
impl Error for PlaneError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<PlaneError> for CodecError
impl From<PlaneError> for CodecError
Source§fn from(source: PlaneError) -> Self
fn from(source: PlaneError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlaneError
impl RefUnwindSafe for PlaneError
impl Send for PlaneError
impl Sync for PlaneError
impl Unpin for PlaneError
impl UnwindSafe for PlaneError
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