pub type Locked<T> = Arc<Mutex<T>>;
Expand description
Type alias wrapping a locked, thread-safe structure with a std::sync::Mutex in an std::sync::Arc
Aliased Type§
struct Locked<T> { /* private fields */ }
pub type Locked<T> = Arc<Mutex<T>>;
Type alias wrapping a locked, thread-safe structure with a std::sync::Mutex in an std::sync::Arc
struct Locked<T> { /* private fields */ }