Enum windows_capture::capture::CaptureControlError
source · pub enum CaptureControlError {
FailedToJoinThread,
ThreadHandleIsTaken,
}
Expand description
Used To Handle Capture Control Errors
Variants§
Trait Implementations§
source§impl Clone for CaptureControlError
impl Clone for CaptureControlError
source§fn clone(&self) -> CaptureControlError
fn clone(&self) -> CaptureControlError
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 CaptureControlError
impl Debug for CaptureControlError
source§impl Display for CaptureControlError
impl Display for CaptureControlError
source§impl Error for CaptureControlError
impl Error for CaptureControlError
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()
source§impl PartialEq for CaptureControlError
impl PartialEq for CaptureControlError
source§fn eq(&self, other: &CaptureControlError) -> bool
fn eq(&self, other: &CaptureControlError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CaptureControlError
impl Eq for CaptureControlError
impl StructuralEq for CaptureControlError
impl StructuralPartialEq for CaptureControlError
Auto Trait Implementations§
impl RefUnwindSafe for CaptureControlError
impl Send for CaptureControlError
impl Sync for CaptureControlError
impl Unpin for CaptureControlError
impl UnwindSafe for CaptureControlError
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