Enum sentry_slog::RecordMapping
source · pub enum RecordMapping {
Ignore,
Breadcrumb(Breadcrumb),
Event(Event<'static>),
}
Expand description
The type of Data Sentry should ingest for a slog::Record
.
Variants§
Ignore
Ignore the Record
.
Breadcrumb(Breadcrumb)
Adds the Breadcrumb
to the Sentry scope.
Event(Event<'static>)
Captures the Event
to Sentry.
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