Enum sentry::integrations::tracing::EventMapping
source · pub enum EventMapping {
Ignore,
Breadcrumb(Breadcrumb),
Event(Event<'static>),
}
Available on crate feature
tracing
only.Expand description
The type of data Sentry should ingest for a Event
Variants
Ignore
Ignore the Event
Breadcrumb(Breadcrumb)
Adds the Breadcrumb
to the Sentry scope.
Event(Event<'static>)
Captures the sentry_core::protocol::Event
to Sentry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventMapping
impl Send for EventMapping
impl Sync for EventMapping
impl Unpin for EventMapping
impl UnwindSafe for EventMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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