Struct sentry::integrations::backtrace::AttachStacktraceIntegration
source · [−]pub struct AttachStacktraceIntegration;
Expand description
Integration to attach stacktraces to Events.
This integration will add an additional thread backtrace to captured
messages, respecting the attach_stacktrace
option.
Implementations
sourceimpl AttachStacktraceIntegration
impl AttachStacktraceIntegration
sourcepub fn new() -> AttachStacktraceIntegration
pub fn new() -> AttachStacktraceIntegration
Creates a new Integration to attach stacktraces to Events.
Trait Implementations
sourceimpl Debug for AttachStacktraceIntegration
impl Debug for AttachStacktraceIntegration
sourceimpl Default for AttachStacktraceIntegration
impl Default for AttachStacktraceIntegration
sourcefn default() -> AttachStacktraceIntegration
fn default() -> AttachStacktraceIntegration
Returns the “default value” for a type. Read more
sourceimpl Integration for AttachStacktraceIntegration
impl Integration for AttachStacktraceIntegration
sourcefn 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
sourcefn setup(&self, options: &mut ClientOptions)
fn setup(&self, options: &mut ClientOptions)
Called whenever the integration is attached to a Client.
Auto Trait Implementations
impl RefUnwindSafe for AttachStacktraceIntegration
impl Send for AttachStacktraceIntegration
impl Sync for AttachStacktraceIntegration
impl Unpin for AttachStacktraceIntegration
impl UnwindSafe for AttachStacktraceIntegration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more