Enum crabgrab::feature::iosurface::GetIoSurfaceError
source · pub enum GetIoSurfaceError {
NoImageBuffer,
NoIoSurface,
}
Expand description
Represents an error when getting the IOSurface behind this video frame
Variants§
NoImageBuffer
There was no image buffer in this frame
NoIoSurface
There was no IOSurface in the frame’s image buffer
Trait Implementations§
source§impl Debug for GetIoSurfaceError
impl Debug for GetIoSurfaceError
source§impl Display for GetIoSurfaceError
impl Display for GetIoSurfaceError
source§impl Error for GetIoSurfaceError
impl Error for GetIoSurfaceError
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
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 Freeze for GetIoSurfaceError
impl RefUnwindSafe for GetIoSurfaceError
impl Send for GetIoSurfaceError
impl Sync for GetIoSurfaceError
impl Unpin for GetIoSurfaceError
impl UnwindSafe for GetIoSurfaceError
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