replace_dyn

Function replace_dyn 

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

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