pub enum EventMapping {
Ignore,
Breadcrumb(Breadcrumb),
Event(Event<'static>),
Log(Log),
Combined(CombinedEventMapping),
}
Expand description
The type of data Sentry should ingest for an 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.
Log(Log)
Captures the sentry_core::protocol::Log
to Sentry.
Combined(CombinedEventMapping)
Captures multiple items to Sentry.
Nesting multiple EventMapping::Combined
inside each other will cause the inner mappings to be ignored.
Trait Implementations§
Source§impl Debug for EventMapping
impl Debug for EventMapping
Source§impl From<EventMapping> for CombinedEventMapping
impl From<EventMapping> for CombinedEventMapping
Source§fn from(value: EventMapping) -> Self
fn from(value: EventMapping) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventMapping
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