Trait futex::RawMutex [] [src]

pub trait RawMutex {
    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