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§