pub async fn with_private_file_lock<T, F>( path: &Path, operation: F, ) -> Result<T>where T: Send + 'static, F: FnOnce() -> Result<T> + Send + 'static,
Run a blocking operation while holding an exclusive private file lock.