pub struct ExtExceptionInfo { /* private fields */ }
Expand description
Exception information plus optional additional payload.
Implementations§
Source§impl ExtExceptionInfo
impl ExtExceptionInfo
Sourcepub fn info(&self) -> &ExceptionInfo<'static>
pub fn info(&self) -> &ExceptionInfo<'static>
Returns the exception information.
Sourcepub fn additional(&self) -> Option<&(dyn Any + 'static)>
pub fn additional(&self) -> Option<&(dyn Any + 'static)>
Returns an optional additional payload.
Trait Implementations§
Source§impl Debug for ExtExceptionInfo
impl Debug for ExtExceptionInfo
Source§impl<A> From<(ExceptionInfo<'_>, A)> for ExtExceptionInfowhere
A: 'static,
impl<A> From<(ExceptionInfo<'_>, A)> for ExtExceptionInfowhere
A: 'static,
Source§fn from(val: (ExceptionInfo<'_>, A)) -> Self
fn from(val: (ExceptionInfo<'_>, A)) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionInfo<'_>> for ExtExceptionInfo
impl From<ExceptionInfo<'_>> for ExtExceptionInfo
Source§fn from(info: ExceptionInfo<'_>) -> Self
fn from(info: ExceptionInfo<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExtExceptionInfo
impl !RefUnwindSafe for ExtExceptionInfo
impl !Send for ExtExceptionInfo
impl !Sync for ExtExceptionInfo
impl Unpin for ExtExceptionInfo
impl !UnwindSafe for ExtExceptionInfo
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