[go: up one dir, main page]

PyResult

Type Alias PyResult 

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

Represents the result of a Python call.

Aliased Type§

pub 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