scope_dyn

Function scope_dyn 

Source
pub fn scope_dyn(strategy: BoxDynTryDropStrategy) -> ScopeGuard
Expand description

Sets the fallback thread local handler to the specified one for the duration of the scope. Must be a dynamic trait object.