Crate proclock_api

Source

Structs§

LockGuard
This struct releases the lock on Drop, similar to MutexGuard’s behaviour

Enums§

LockPath
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.

Type Aliases§

Result