pub fn runtime_dir() -> Result<PathBuf>Expand description
Get the runtime directory for ephemeral cuenv data.
Runtime data includes:
- Coordinator socket
- PID files
- Lock files
Resolution order:
CUENV_RUNTIME_DIRenvironment variable- Platform runtime directory (or temp directory as fallback)
ยงErrors
Returns an error if the runtime directory cannot be determined.