File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -38,29 +38,6 @@ pub enum RecordMapping {
3838 /// Captures the [`sentry_core::protocol::Log`] to Sentry.
3939 #[ cfg( feature = "logs" ) ]
4040 Log ( sentry_core:: protocol:: Log ) ,
41- /// Captures multiple items to Sentry.
42- /// Nesting multiple `RecordMapping::Combined` is not supported and will cause the mappings to
43- /// be ignored.
44- Combined ( CombinedRecordMapping ) ,
45- }
46-
47- /// A list of record mappings.
48- #[ derive( Debug ) ]
49- pub struct CombinedRecordMapping ( Vec < RecordMapping > ) ;
50-
51- impl From < RecordMapping > for CombinedRecordMapping {
52- fn from ( value : RecordMapping ) -> Self {
53- match value {
54- RecordMapping :: Combined ( combined) => combined,
55- _ => CombinedRecordMapping ( vec ! [ value] ) ,
56- }
57- }
58- }
59-
60- impl From < Vec < RecordMapping > > for CombinedRecordMapping {
61- fn from ( value : Vec < RecordMapping > ) -> Self {
62- Self ( value)
63- }
6441}
6542
6643impl From < RecordMapping > for Vec < RecordMapping > {
You can’t perform that action at this time.
0 commit comments