pub type Mutex<T> = Mutex<Mutex<()>, T>;
Available on crate features
lock_api
and mutex
only.Expand description
A lock that provides mutually exclusive data access (compatible with lock_api
).
Aliased Type§
struct Mutex<T> { /* private fields */ }