pub fn allocate_with_timeout( lock_path: &Path, timeout: Duration, ) -> Result<Ulid, Error>
Allocate with an explicit lock-acquisition timeout. Used by tests.