Enum pyenv_python::PyenvError [−][src]
pub enum PyenvError { NoRoot { error: PyenvRootError, }, NoVersion { root: PyenvRoot, }, NoExecutable { error: PyenvPythonExecutableError, root: PyenvRoot, version: PyenvVersion, python_path: PathBuf, }, }
Expand description
Possible errors in looking up the current pyenv
python
executable.
Variants
Fields of NoRoot
error: PyenvRootError
The pyenv
version can’t be found anywhere,
neither the shell, local, or global versions.
See https://github.com/pyenv/pyenv#choosing-the-python-version for the algorithm.
Fields of NoVersion
root: PyenvRoot
The pyenv
python
executable can’t be found or is not an executable.
Fields of NoExecutable
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PyenvError
impl Send for PyenvError
impl Sync for PyenvError
impl Unpin for PyenvError
impl !UnwindSafe for PyenvError
Blanket Implementations
Apply a function which takes the parameter by value.
Apply a function which takes the parameter by reference.
Mutably borrows from an owned value. Read more