[−][src]Function checkers::mute_guard
pub fn mute_guard(muted: bool) -> MuteGuard
Enable muting for the duration of the guard. A guard ensures that the muted state is restored to its original value even if we are unwinding due to a panic. You should prefer to use with_unmuted when possible.
See is_muted for details on what this means.