[][src]Struct sentry_panic::PanicIntegration

pub struct PanicIntegration { /* fields omitted */ }

The Sentry Panic handler Integration.

Implementations

impl PanicIntegration[src]

pub fn new() -> Self[src]

Creates a new Panic Integration.

pub fn add_extractor<F>(mut self: Self, f: F) -> Self where
    F: Fn(&PanicInfo<'_>) -> Option<Event<'static>> + Send + Sync + 'static, 
[src]

Registers a new extractor.

pub fn event_from_panic_info(&self, info: &PanicInfo<'_>) -> Event<'static>[src]

Creates an event from the given panic info.

The stacktrace is calculated from the current frame.

Trait Implementations

impl Debug for PanicIntegration[src]

impl Default for PanicIntegration[src]

impl Integration for PanicIntegration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.