Struct mapped_file::err::WrappedOSError
source · [−]pub struct WrappedOSError<E: ?Sized>(_, _);
Expand description
Wraps a piece of context over an OS error
Implementations
Trait Implementations
sourceimpl<E: ?Sized> Debug for WrappedOSError<E>where
E: Display,
impl<E: ?Sized> Debug for WrappedOSError<E>where
E: Display,
sourceimpl<E: ?Sized> Display for WrappedOSError<E>where
E: Debug,
impl<E: ?Sized> Display for WrappedOSError<E>where
E: Debug,
sourceimpl<E: ?Sized> Error for WrappedOSError<E>where
WrappedOSError<E>: Display + Debug,
impl<E: ?Sized> Error for WrappedOSError<E>where
WrappedOSError<E>: Display + Debug,
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<E> From<WrappedOSError<E>> for Error
impl<E> From<WrappedOSError<E>> for Error
sourcefn from(from: WrappedOSError<E>) -> Self
fn from(from: WrappedOSError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<E> !RefUnwindSafe for WrappedOSError<E>
impl<E: ?Sized> Send for WrappedOSError<E>where
E: Send,
impl<E: ?Sized> Sync for WrappedOSError<E>where
E: Sync,
impl<E: ?Sized> Unpin for WrappedOSError<E>where
E: Unpin,
impl<E> !UnwindSafe for WrappedOSError<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more