MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / is_replaying

Method is_replaying

crates/wasmtime/src/engine.rs:286–294  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

284 /// Returns whether the engine is configured to support execution replaying
285 #[inline]
286 pub fn is_replaying(&self) -> bool {
287 match self.config().rr_config {
288 #[cfg(feature = "rr")]
289 RRConfig::Replaying => true,
290 #[cfg(feature = "rr")]
291 RRConfig::Recording => false,
292 RRConfig::None => false,
293 }
294 }
295
296 /// Detects whether the bytes provided are a precompiled object produced by
297 /// Wasmtime.

Callers

nothing calls this directly

Calls 1

configMethod · 0.45

Tested by

no test coverage detected