Enum sentry_tracing::EventMapping
source · pub enum EventMapping {
Ignore,
Breadcrumb(Breadcrumb),
Event(Event<'static>),
}
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§
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