pub fn acquire(keystore_path: &Path) -> Result<WalletGuard, CmdError>Expand description
Acquire an exclusive file-lock keyed off the keystore path.
Blocks until the lock is available. The lock file lives at
<keystore_dir>/.taskfast-wallet.lock; same-directory placement
means two processes with different --keystore inputs that resolve
to the same canonical path end up on the same lock.