(&self)
| 272 | /// Returns whether the engine is configured to support execution recording |
| 273 | #[inline] |
| 274 | pub fn is_recording(&self) -> bool { |
| 275 | match self.config().rr_config { |
| 276 | #[cfg(feature = "rr")] |
| 277 | RRConfig::Recording => true, |
| 278 | #[cfg(feature = "rr")] |
| 279 | RRConfig::Replaying => false, |
| 280 | RRConfig::None => false, |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | /// Returns whether the engine is configured to support execution replaying |
| 285 | #[inline] |