Skip to main content

try_defer_drop

Function try_defer_drop 

Source
pub fn try_defer_drop<F>(f: F)
where F: FnOnce() + 'static,
Expand description

Try to defer a drop-related operation. If inside a deferred context, the operation is queued. Otherwise, it executes immediately.