Enum scopeguard::Always
[−]
[src]
pub enum Always {}
Always run on scope exit.
“Always” run: on regular exit from a scope or on unwinding from a panic. Can not run on abort, process exit, and other catastrophic events where destructors don’t run.
Trait Implementations
impl Debug for Always
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Strategy for Always
[src]
fn should_run() -> bool
[src]
Return true
if the guard’s associated code should run (in the context where this method is called). Read more