pub fn claim(runs: &Path, stamp: &str) -> Result<PathBuf>Expand description
Claim a directory of this run’s own under runs, named by stamp.
The directory is created exclusively and owner-only, so two runs in one
second never share one. Where stamp is taken, the next free name
follows it, <stamp>-2, <stamp>-3, so the names still sort by time.
§Errors
Any I/O error creating runs or the run directory, other than the name
being taken.