[−][src]Trait simplelock::Lock
The Simple Lock
trait.
Required methods
pub fn status(&self) -> SimpleLockResult<LockStatus>
[src]
None if unknown, otherwise will contain the status.
pub fn lock(&mut self) -> SimpleLockResult<()>
[src]
Attempt to perform the lock.
pub fn unlock(&mut self) -> SimpleLockResult<()>
[src]
Attempt to perform the unlock.