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