pub struct WrappedOSError<E: ?Sized>(/* private fields */);
Expand description
Wraps a piece of context over an OS error
Implementations§
Trait Implementations§
Source§impl<E> Debug for WrappedOSError<E>
impl<E> Debug for WrappedOSError<E>
Source§impl<E> Display for WrappedOSError<E>
impl<E> Display for WrappedOSError<E>
Source§impl<E: ?Sized> Error for WrappedOSError<E>
impl<E: ?Sized> Error for WrappedOSError<E>
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<E> From<WrappedOSError<E>> for Error
impl<E> From<WrappedOSError<E>> for Error
Source§fn from(from: WrappedOSError<E>) -> Self
fn from(from: WrappedOSError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for WrappedOSError<E>
impl<E> !RefUnwindSafe for WrappedOSError<E>
impl<E> Send for WrappedOSError<E>
impl<E> Sync for WrappedOSError<E>
impl<E> Unpin for WrappedOSError<E>
impl<E> !UnwindSafe for WrappedOSError<E>
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