Structs§
- Lock
Guard - This struct releases the lock on
Drop
, similar toMutexGuard
’s behaviour
Enums§
- Lock
Path - Represents the path in which the lock should be created.
Functions§
- lock
- Locks the file in a blocking manner.
- try_
lock - Locks the file in a non-blocking manner, i.e return an error if the file is locked.