Type Alias py_env::PyResult

source ·
pub type PyResult<T> = Result<T, Error>;
Expand description

Result type with a Boxed error type, for easy chaining of errors in the PyEnv struct

Aliased Type§

enum PyResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value