#[repr(C)]pub(crate) struct ErrorImpl<E = ()> {
    vtable: &'static ErrorVTable,
    backtrace: Option<Backtrace>,
    _object: E,
}Fields§
§vtable: &'static ErrorVTable§backtrace: Option<Backtrace>§_object: EImplementations§
Source§impl ErrorImpl
 
impl ErrorImpl
pub(crate) unsafe fn error( this: Ref<'_, Self>, ) -> &(dyn StdError + Send + Sync + 'static)
pub(crate) unsafe fn error_mut( this: Mut<'_, Self>, ) -> &mut (dyn StdError + Send + Sync + 'static)
pub(crate) unsafe fn backtrace(this: Ref<'_, Self>) -> &Backtrace
pub(crate) unsafe fn chain(this: Ref<'_, Self>) -> Chain<'_> ⓘ
Trait Implementations§
Source§impl<E> Error for ErrorImpl<E>where
    E: StdError,
 
impl<E> Error for ErrorImpl<E>where
    E: StdError,
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
 
fn source(&self) -> Option<&(dyn StdError + '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()
Auto Trait Implementations§
impl<E = ()> !Freeze for ErrorImpl<E>
impl<E> RefUnwindSafe for ErrorImpl<E>where
    E: RefUnwindSafe,
impl<E> Send for ErrorImpl<E>where
    E: Send,
impl<E> Sync for ErrorImpl<E>where
    E: Sync,
impl<E> Unpin for ErrorImpl<E>where
    E: Unpin,
impl<E> UnwindSafe for ErrorImpl<E>where
    E: 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