pub fn mode_name(mode: BuildMode) -> &'static str
The mode string used in messages (discovery / one-shot).
discovery
one-shot