pub fn try_acquire(
home: &Path,
cache_dir: &Path,
owner: &Owner,
) -> Result<AcquireOutcome>Expand description
Take the lease for cache_dir if nobody live holds it, reclaiming a
stale one first. One attempt — a caller that wants to wait uses
wait_for, which is this in a loop bounded by a budget.