cargo::util

Module flock

Source
Expand description

File-locking support.

This module defines the Filesystem type which is an abstraction over a filesystem, ensuring that access to the filesystem is only done through coordinated locks.

The FileLock type represents a locked file, and provides access to the file.

Modules§

Structs§

  • A locked file.
  • A “filesystem” is intended to be a globally shared, hence locked, resource in Cargo.

Functions§