pub enum WindowsUtilsError {
InvalidCoordinates {
x: i32,
y: i32,
},
OutOfBounds {
x: i32,
y: i32,
},
InvalidWindowHandle {
handle: isize,
},
InvalidMessageParameter {
parameter: &'static str,
},
UnsupportedMessage {
message: u32,
},
FeatureNotEnabled {
feature: &'static str,
},
}Expand description
Errors that can occur in Windows API utilities.
Variants§
InvalidCoordinates
Invalid coordinates provided.
OutOfBounds
Point is outside the window bounds.
InvalidWindowHandle
Invalid window handle.
InvalidMessageParameter
Invalid message parameter.
UnsupportedMessage
Unsupported message type.
FeatureNotEnabled
Feature not enabled.
Trait Implementations§
Source§impl Clone for WindowsUtilsError
impl Clone for WindowsUtilsError
Source§fn clone(&self) -> WindowsUtilsError
fn clone(&self) -> WindowsUtilsError
Returns a duplicate 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 WindowsUtilsError
impl Debug for WindowsUtilsError
Source§impl Display for WindowsUtilsError
impl Display for WindowsUtilsError
Source§impl Error for WindowsUtilsError
impl Error for WindowsUtilsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 WindowsUtilsError
impl PartialEq for WindowsUtilsError
impl StructuralPartialEq for WindowsUtilsError
Auto Trait Implementations§
impl Freeze for WindowsUtilsError
impl RefUnwindSafe for WindowsUtilsError
impl Send for WindowsUtilsError
impl Sync for WindowsUtilsError
impl Unpin for WindowsUtilsError
impl UnwindSafe for WindowsUtilsError
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