Module sp_core::defer

source ·
Expand description

Contains the crate::defer! macro for deferring the execution of code until the current scope is dropped. This helps with always executing cleanup code.

Structs

Executes the wrapped closure on drop.