Module lockable_file

Source
Expand description

Wrapper guards around fs2 crate. First move your file handle into a LockableFile via From/Into. Then call locking methods on that to get a guard with access to the file handle.

Structs§

ExclusiveFileLock
LockableFile
SharedFileLock
StandaloneExclusiveFileLock
The self-referencing struct.

Enums§

LockStatus
Information about what kind of lock is held
StandaloneFileLockError