[−][src]Crate dir_lock
This is dir-lock, a library crate providing the type DirLock, which is a simple file-system-based mutex.
Features
The following feature is enabled by default:
tokio: Uses thetokioruntime for async operations.
The following features can be enabled via Cargo:
async-std: Uses theasync-stdruntime for async operations. Thetokiofeature should be disabled when using this feature.tokio02: Uses the runtime of the outdated version 0.2 of thetokiocrate for async operations. Thetokiofeature should be disabled when using this feature.tokio03: Uses the runtime of the outdated version 0.3 of thetokiocrate for async operations. Thetokiofeature should be disabled when using this feature.
Structs
| DirLock | A simple file-system-based mutex. |
Enums
| Error | An error that can occur when locking or unlocking a |