pub fn arc_mutex<T>(data: T) -> ArcMutex<T>
Creates a new ArcMutex from the given data.
ArcMutex
T
Arc<Mutex>
An ArcMutex containing the provided data.