pub fn require_operational() -> Result<(), Error>Expand description
Guard used at the entry point of every approved service. Returns
Ok(()) only when the module is Operational; otherwise returns a
Error::NotOperational describing the current state so callers
cannot accidentally ignore it.
The Operational case costs one acquire load of the state word and one
comparison.