Enum zune_hdr::HdrEncodeErrors
source · pub enum HdrEncodeErrors {
UnsupportedColorspace(ColorSpace),
WrongInputSize(usize, usize),
Static(&'static str),
}
Expand description
HDR encoding errrors
Variants§
UnsupportedColorspace(ColorSpace)
The colorspace provided by user is not supported by HDR
WrongInputSize(usize, usize)
The input size was expected to be of a certain size but isn’t
Static(&'static str)
Generic message
Trait Implementations§
source§impl Debug for HdrEncodeErrors
impl Debug for HdrEncodeErrors
source§impl Display for HdrEncodeErrors
impl Display for HdrEncodeErrors
source§impl Error for HdrEncodeErrors
impl Error for HdrEncodeErrors
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()
Auto Trait Implementations§
impl RefUnwindSafe for HdrEncodeErrors
impl Send for HdrEncodeErrors
impl Sync for HdrEncodeErrors
impl Unpin for HdrEncodeErrors
impl UnwindSafe for HdrEncodeErrors
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