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

Method privilege_status

src/executor/mod.rs:119–121  ·  view source on GitHub ↗

Report whether the elevated privileges this executor needs are in place. Defaults to `None` for executors that need none. Only consulted once the tool itself is installed.

(&self)

Source from the content-addressed store, hash-verified

117 /// Defaults to `None` for executors that need none. Only consulted once the
118 /// tool itself is installed.
119 fn privilege_status(&self) -> Option<PrivilegeStatus> {
120 None
121 }
122
123 /// Declare how well this executor runs on the host system. Drives whether `setup()` is invoked
124 /// (only when [`ExecutorSupport::FullySupported`]) and whether we bail out of running the

Callers 1

statusFunction · 0.45

Implementers 3

executor.rssrc/executor/wall_time/executor.rs
executor.rssrc/executor/memory/executor.rs
executor.rssrc/executor/valgrind/executor.rs

Calls

no outgoing calls

Tested by

no test coverage detected