pub struct OsError { /* private fields */ }Expand description
Unclassified error from the OS.
Implementations§
Trait Implementations§
Source§impl Error for OsError
impl Error for OsError
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<OsError> for EventLoopError
impl From<OsError> for EventLoopError
Source§impl From<OsError> for CreateWindowError
impl From<OsError> for CreateWindowError
Source§impl From<OsError> for TransferError
impl From<OsError> for TransferError
Source§impl From<OsError> for CustomCursorError
impl From<OsError> for CustomCursorError
Auto Trait Implementations§
impl !RefUnwindSafe for OsError
impl !UnwindSafe for OsError
impl Freeze for OsError
impl Send for OsError
impl Sync for OsError
impl Unpin for OsError
impl UnsafeUnpin for OsError
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