MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / fmt

Method fmt

src/executor/mod.rs:34–43  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

32
33impl Display for RunnerMode {
34 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35 match self {
36 #[allow(deprecated)]
37 RunnerMode::Instrumentation => write!(f, "instrumentation"),
38 RunnerMode::Simulation => write!(f, "simulation"),
39 RunnerMode::Walltime => write!(f, "walltime"),
40 #[cfg(target_os = "linux")]
41 RunnerMode::Memory => write!(f, "memory"),
42 }
43 }
44}
45
46pub const EXECUTOR_TARGET: &str = "executor";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected