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