Enum scopeguard::Always
source · pub enum Always {}
Expand description
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§
Auto Trait Implementations§
impl RefUnwindSafe for Always
impl Send for Always
impl Sync for Always
impl Unpin for Always
impl UnwindSafe for Always
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more