pub enum CaptureConfigError {
UnsupportedPixelFormat,
InvalidBufferCount,
}
Expand description
Represents an error creating the capture config
Variants§
UnsupportedPixelFormat
The pixel format is unsupported by the implementation
InvalidBufferCount
The buffer count is out of the valid range for the implementation
Trait Implementations§
source§impl Clone for CaptureConfigError
impl Clone for CaptureConfigError
source§fn clone(&self) -> CaptureConfigError
fn clone(&self) -> CaptureConfigError
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 CaptureConfigError
impl Debug for CaptureConfigError
source§impl Display for CaptureConfigError
impl Display for CaptureConfigError
source§impl Error for CaptureConfigError
impl Error for CaptureConfigError
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()
impl Send for CaptureConfigError
impl Sync for CaptureConfigError
Auto Trait Implementations§
impl Freeze for CaptureConfigError
impl RefUnwindSafe for CaptureConfigError
impl Unpin for CaptureConfigError
impl UnwindSafe for CaptureConfigError
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