[][src]Trait scopeguard::Strategy

pub trait Strategy {
    fn should_run() -> bool;
}

Required Methods

Return true if the guard’s associated code should run (in the context where this method is called).

Implementors

impl Strategy for Always
[src]