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§
Source§impl Debug for RecordMapping
impl Debug for RecordMapping
Source§impl From<RecordMapping> for Vec<RecordMapping>
impl From<RecordMapping> for Vec<RecordMapping>
Source§fn from(mapping: RecordMapping) -> Self
fn from(mapping: RecordMapping) -> Self
Converts to this type from the input type.
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