pub fn mutex_lock<O0: Into<Output>>( mutex: O0, scope: &mut Scope, ) -> Result<Operation>
Shorthand for MutexLock::new().build(mutex, scope).
MutexLock::new().build(mutex, scope)