pub enum RecordMapping {
Ignore,
Breadcrumb(Breadcrumb),
Event(Event<'static>),
}
Expand description
The type of Data Sentry should ingest for a log::Record
.
Variants§
Ignore
Ignore the Record
.
Breadcrumb(Breadcrumb)
Adds the Breadcrumb
to the Sentry scope.
Event(Event<'static>)
Captures the Event
to Sentry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecordMapping
impl RefUnwindSafe for RecordMapping
impl Send for RecordMapping
impl Sync for RecordMapping
impl Unpin for RecordMapping
impl UnwindSafe for RecordMapping
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