replace_dyn

Function replace_dyn 

Source
pub fn replace_dyn(
    strategy: BoxDynFallibleTryDropStrategy,
) -> Option<BoxDynFallibleTryDropStrategy>
Expand description

Replace the current thread local primary handler with the given one, returning the old one if any. Must be a dynamic trait object.