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]
impl Debug for Always
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Strategy for Always
[src]
impl Strategy for Always
fn should_run() -> bool
[src]
fn should_run() -> bool
Return true
if the guard’s associated code should run (in the context where this method is called). Read more