Whether sys.settrace receives this event.
(&self)
| 148 | impl TraceEvent { |
| 149 | /// Whether sys.settrace receives this event. |
| 150 | fn is_trace_event(&self) -> bool { |
| 151 | matches!( |
| 152 | self, |
| 153 | Self::Call | Self::Return | Self::Exception | Self::Line | Self::Opcode |
| 154 | ) |
| 155 | } |
| 156 | |
| 157 | /// Whether sys.setprofile receives this event. |
| 158 | /// In legacy_tracing.c, profile callbacks are only registered for |