[−][src]Trait mutex_trait::prelude::TupleExt03
Auto-generated tuple implementation, see Mutex
for details.
Associated Types
type T1
Data protected by the mutex.
type T2
Data protected by the mutex.
type T3
Data protected by the mutex.
Required methods
fn lock<R>(
&mut self,
f: impl FnOnce(&mut Self::T1, &mut Self::T2, &mut Self::T3) -> R
) -> R
&mut self,
f: impl FnOnce(&mut Self::T1, &mut Self::T2, &mut Self::T3) -> R
) -> R
Creates a critical section and grants temporary access to the protected data.