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

Method fmt

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected