logo
pub trait TupleExt06 {
    type T1;
    type T2;
    type T3;
    type T4;
    type T5;
    type T6;

    fn lock<R>(
        &mut self,
        f: impl FnOnce(&mut Self::T1, &mut Self::T2, &mut Self::T3, &mut Self::T4, &mut Self::T5, &mut Self::T6) -> R
    ) -> R; }
Expand description

Auto-generated tuple implementation, see Mutex for details.

Required Associated Types

Data protected by the mutex.

Data protected by the mutex.

Data protected by the mutex.

Data protected by the mutex.

Data protected by the mutex.

Data protected by the mutex.

Required Methods

Creates a critical section and grants temporary access to the protected data.

Implementations on Foreign Types

Implementors