Expand description
A pool of WorkingDirectory.
Error concept: if there are errors, the WorkingDirectory is
renamed but stays in the pool directory. (Only directories with
names that are parseable as u64 are treated as usable entries.)
Structs§
- Processing
Error - WdAllow
Bare Opt - Working
Directory Cleanup Token - This is a linear type (i.e. it cannot be dropped) and has to be
passed to
working_directory_cleanup, which will potentially clean up or delete the working directory that this represents. If you want to prevent that, callprohibit_cleanup()on it before passing it, or call itsforce_drop()method (easier to do in error handlers). - Working
Directory Id - Working
Directory IdOpt - A precursor of
WorkingDirectoryIdthat allows bothD123and123as IDs on parsing. This is to allow forallow_bare. Must be converted before use. - Working
Directory Pool - Working
Directory Pool AndLock - Working
Directory Pool Base Dir - Working
Directory Pool Base DirLock - A public lock on a WorkingDirectoryPoolBaseDir. Takes exclusive access to the WorkingDirectoryPoolBaseDir.
- Working
Directory Pool Context - Completed options, and WorkingDirectoryPoolBaseDir even has an open (lockable) file.
- Working
Directory Pool Guard - Working
Directory Pool Guard Mut - Working
Directory Pool Opts - For
RunConfigOptsconfiguration file.remote_repository_urlis separate from this because that seemed to make more sense for theRunConfigOpts.
Statics§
- WORKING_
DIRECTORY_ ID_ ALLOW_ WITHOUT_ PREFIX - But actually use
WorkingDirectoryPoolOptsand itsto_working_directory_idmethod instead!