[][src]Struct sentry::integrations::panic::PanicIntegration

pub struct PanicIntegration { /* fields omitted */ }

The Sentry Panic handler Integration.

Implementations

impl PanicIntegration[src]

pub fn new() -> PanicIntegration[src]

Creates a new Panic Integration.

pub fn add_extractor<F>(self, f: F) -> PanicIntegration 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 Default for PanicIntegration[src]

impl Integration for PanicIntegration[src]

Auto Trait Implementations

impl !RefUnwindSafe for PanicIntegration

impl Send for PanicIntegration

impl Sync for PanicIntegration

impl Unpin for PanicIntegration

impl !UnwindSafe for PanicIntegration

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,