Enum crabgrab::feature::wgpu::WgpuVideoFrameError
source · pub enum WgpuVideoFrameError {
NoBackendTexture,
InvalidVideoPlaneTexture,
NoWgpuDevice,
Other(String),
}
Expand description
Represents an error getting the texture from a video frame
Variants§
NoBackendTexture
the backend texture couldn’t be fetched
InvalidVideoPlaneTexture
The requested plane isn’t valid for this frame
NoWgpuDevice
No Wgpu device was supplied to the capture stream
Other(String)
Trait Implementations§
source§impl Clone for WgpuVideoFrameError
impl Clone for WgpuVideoFrameError
source§fn clone(&self) -> WgpuVideoFrameError
fn clone(&self) -> WgpuVideoFrameError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WgpuVideoFrameError
impl Debug for WgpuVideoFrameError
source§impl Display for WgpuVideoFrameError
impl Display for WgpuVideoFrameError
source§impl Error for WgpuVideoFrameError
impl Error for WgpuVideoFrameError
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 WgpuVideoFrameError
impl RefUnwindSafe for WgpuVideoFrameError
impl Send for WgpuVideoFrameError
impl Sync for WgpuVideoFrameError
impl Unpin for WgpuVideoFrameError
impl UnwindSafe for WgpuVideoFrameError
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