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