pub enum WindowsError {
IOError(Error),
WindowGetterError(PlatformError),
}Available on Windows only.
Expand description
Represents errors that can occur in the Windows-specific implementation.
Variants§
IOError(Error)
An IO error occurred.
WindowGetterError(PlatformError)
An error occurred from underlying implementation of window_getter.
Trait Implementations§
Source§impl Debug for WindowsError
impl Debug for WindowsError
Source§impl Display for WindowsError
impl Display for WindowsError
Source§impl Error for WindowsError
impl Error for WindowsError
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 From<Error> for WindowsError
impl From<Error> for WindowsError
Source§impl From<Error> for WindowsError
impl From<Error> for WindowsError
Source§fn from(source: PlatformError) -> Self
fn from(source: PlatformError) -> Self
Converts to this type from the input type.
Source§impl From<WindowsError> for Error
impl From<WindowsError> for Error
Source§fn from(source: PlatformError) -> Self
fn from(source: PlatformError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowsError
impl !RefUnwindSafe for WindowsError
impl Send for WindowsError
impl Sync for WindowsError
impl Unpin for WindowsError
impl !UnwindSafe for WindowsError
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