pub fn acquire_lock( lock_opts: LockOptions<'_>, lock_timeout: Duration, ) -> Result<FileLock, Error>
Acquires the provided lock with a specified timeout