pub trait Mutex: Sync + Send {
    fn lock(&self);
    fn unlock(&self);
}
Expand description

Mutex trait

Required Methods

Lock the mutex

Unlock the mutex

Implementors