Skip to main content

mutex_new

Function mutex_new 

Source
pub fn mutex_new<T>(value: T) -> Mutex<T>
Expand description

Wrap value in a Mutex.