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