pub type DebugMutex<T> = TracingMutex<T>;
Expand description

Debug-only tracing Mutex.

Type alias that resolves to TracingMutex when debug assertions are enabled and to std::sync::Mutex when they’re not. Use this if you want to have the benefits of cycle detection in development but do not want to pay the performance penalty in release.