#[non_exhaustive]pub enum CustomCursorError {
NotSupported,
UnsupportedSource,
Os(OsError),
}Expand description
An error from create_custom_cursor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotSupported
Custom cursors are not supported.
UnsupportedSource
The CustomCursorSource variant is not supported.
Os(OsError)
Got unspecified OS specific error during the request.
Trait Implementations§
Source§impl Debug for CustomCursorError
impl Debug for CustomCursorError
Source§impl Display for CustomCursorError
impl Display for CustomCursorError
Source§impl Error for CustomCursorError
impl Error for CustomCursorError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for CustomCursorError
impl !UnwindSafe for CustomCursorError
impl Freeze for CustomCursorError
impl Send for CustomCursorError
impl Sync for CustomCursorError
impl Unpin for CustomCursorError
impl UnsafeUnpin for CustomCursorError
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