pub fn set_join_set_tracer(
tracer: &'static dyn JoinSetTracer,
) -> Result<(), JoinSetTracerError>
Expand description
Set the custom tracer for both futures and blocking closures.
This should be called once at startup. If called more than once, an
Err(JoinSetTracerError)
is returned. If not called at all, a no-op tracer that does nothing
is used.