Struct r3::kernel::mutex::MutexDefiner
source · pub struct MutexDefiner<System> { /* private fields */ }
Expand description
The definer (static builder) for MutexRef
.
Implementations§
source§impl<System> MutexDefiner<System>where
System: KernelMutex,
impl<System> MutexDefiner<System>where System: KernelMutex,
sourcepub const fn protocol(self, protocol: MutexProtocol) -> MutexDefiner<System>
pub const fn protocol(self, protocol: MutexProtocol) -> MutexDefiner<System>
Specify the mutex’s protocol. Defaults to None
when unspecified.