pub fn require_dev_node(mode: NodeMode) -> Result<(), StageRefusal>Expand description
Refuses staged activation on any host that was not started in dev
mode. Every handler of DevRequest::StageAndActivate MUST pass this
gate before touching anything โ the refusal happens with zero node
operations performed.
ยงErrors
StageRefusal::NotADevNode for a production host.