pub struct PanicCause {
pub message: Option<String>,
pub location: Option<PanicLocation>,
pub backtrace: Option<Arc<Backtrace>>,
}Fields§
§message: Option<String>§location: Option<PanicLocation>§backtrace: Option<Arc<Backtrace>>Implementations§
Trait Implementations§
Source§impl Clone for PanicCause
impl Clone for PanicCause
Source§fn clone(&self) -> PanicCause
fn clone(&self) -> PanicCause
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PanicCause
impl RefUnwindSafe for PanicCause
impl Send for PanicCause
impl Sync for PanicCause
impl Unpin for PanicCause
impl UnsafeUnpin for PanicCause
impl UnwindSafe for PanicCause
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