pub enum GetPlanarFramebufferError {
Io(Error),
UnrecognizedFourcc(UnrecognizedFourcc),
}
Expand description
Error from Device::get_planar_framebuffer
Variants§
Trait Implementations§
source§impl Debug for GetPlanarFramebufferError
impl Debug for GetPlanarFramebufferError
source§impl Display for GetPlanarFramebufferError
impl Display for GetPlanarFramebufferError
source§impl Error for GetPlanarFramebufferError
impl Error for GetPlanarFramebufferError
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<Error> for GetPlanarFramebufferError
impl From<Error> for GetPlanarFramebufferError
source§impl From<UnrecognizedFourcc> for GetPlanarFramebufferError
impl From<UnrecognizedFourcc> for GetPlanarFramebufferError
source§fn from(err: UnrecognizedFourcc) -> Self
fn from(err: UnrecognizedFourcc) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetPlanarFramebufferError
impl !RefUnwindSafe for GetPlanarFramebufferError
impl Send for GetPlanarFramebufferError
impl Sync for GetPlanarFramebufferError
impl Unpin for GetPlanarFramebufferError
impl !UnwindSafe for GetPlanarFramebufferError
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