Enum sentry_log::RecordMapping
source · [−]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 RefUnwindSafe for RecordMapping
impl Send for RecordMapping
impl Sync for RecordMapping
impl Unpin for RecordMapping
impl UnwindSafe for RecordMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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