☰
Mutex
Required Methods
lock
unlock
Implementors
In os::sync::mutex
?
Trait
os
::
sync
::
mutex
::
Mutex
source
·
[
−
]
pub trait Mutex:
Sync
+
Send
{ // Required methods fn
lock
(&self);
fn
unlock
(&self); }
Required Methods
§
source
fn
lock
(&self)
source
fn
unlock
(&self)
Implementors
§
source
§
impl
Mutex
for
MutexBlocking
source
§
impl
Mutex
for
MutexSpin