Structs§
- Lock
- Represent a lock file. When this value is dropped, the corresponding lock file will be removed.
Enums§
Functions§
- is_
locked - Return true if this name is locked.
- remove_
lock - Remove the lock if exist. Return true if successfully removed, false if there was no lock.
- try_
lock - Try to acquire the lock.
- try_
lock_ until_ dropped - Try to acquire the lock, and unlock when the
Lock
is dropped.