Struct sentry_panic::PanicIntegration
source · pub struct PanicIntegration { /* private fields */ }
Expand description
The Sentry Panic handler Integration.
Implementations§
source§impl PanicIntegration
impl PanicIntegration
sourcepub fn add_extractor<F>(self, f: F) -> Self
pub fn add_extractor<F>(self, f: F) -> Self
Registers a new extractor.
sourcepub fn event_from_panic_info(&self, info: &PanicInfo<'_>) -> Event<'static>
pub fn event_from_panic_info(&self, info: &PanicInfo<'_>) -> Event<'static>
Creates an event from the given panic info.
The stacktrace is calculated from the current frame.
Trait Implementations§
source§impl Debug for PanicIntegration
impl Debug for PanicIntegration
source§impl Default for PanicIntegration
impl Default for PanicIntegration
source§fn default() -> PanicIntegration
fn default() -> PanicIntegration
Returns the “default value” for a type. Read more
source§impl Integration for PanicIntegration
impl Integration for PanicIntegration
source§fn setup(&self, _cfg: &mut ClientOptions)
fn setup(&self, _cfg: &mut ClientOptions)
Called whenever the integration is attached to a Client.
source§fn process_event(
&self,
event: Event<'static>,
options: &ClientOptions,
) -> Option<Event<'static>>
fn process_event( &self, event: Event<'static>, options: &ClientOptions, ) -> Option<Event<'static>>
The Integrations Event Processor Hook. Read more
Auto Trait Implementations§
impl Freeze for PanicIntegration
impl !RefUnwindSafe for PanicIntegration
impl Send for PanicIntegration
impl Sync for PanicIntegration
impl Unpin for PanicIntegration
impl !UnwindSafe for PanicIntegration
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