pub enum PanicSource {
Sig(&'static str),
App(Arc<str>, Backtrace),
}Expand description
Different types of panics
Variants§
Trait Implementations§
Source§impl Clone for PanicSource
impl Clone for PanicSource
Source§fn clone(&self) -> PanicSource
fn clone(&self) -> PanicSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PanicSource
impl RefUnwindSafe for PanicSource
impl Send for PanicSource
impl Sync for PanicSource
impl Unpin for PanicSource
impl UnsafeUnpin for PanicSource
impl UnwindSafe for PanicSource
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