pub fn suppress<R>(f: impl FnOnce() -> R) -> R
Expand description
Suppresses interrupts during the execution of f
and
restore the previous status afterwards.
pub fn suppress<R>(f: impl FnOnce() -> R) -> R
Suppresses interrupts during the execution of f
and
restore the previous status afterwards.