pyo3

Type Alias PyResult

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

Represents the result of a Python call.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PyErr)

Contains the error value