enum ErrorData<C> {
Os(RawOsError),
Simple(ErrorKind),
SimpleMessage(&'static SimpleMessage),
Custom(C),
}
Variants§
Os(RawOsError)
Simple(ErrorKind)
SimpleMessage(&'static SimpleMessage)
Custom(C)
Auto Trait Implementations§
impl<C> RefUnwindSafe for ErrorData<C>where C: RefUnwindSafe,
impl<C> Send for ErrorData<C>where C: Send,
impl<C> Sync for ErrorData<C>where C: Sync,
impl<C> Unpin for ErrorData<C>where C: Unpin,
impl<C> UnwindSafe for ErrorData<C>where C: UnwindSafe,
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