Trait lock_wrappers::raw::Mutex [] [src]

pub trait Mutex {
    type LockState;
    fn lock(&self) -> Self::LockState;
    fn try_lock(&self) -> Option<Self::LockState>;
    fn unlock(&self, state: Self::LockState);
}

Associated Types

Required Methods

Implementors