Skip to main content

PythonResult

Type Alias PythonResult 

Source
pub type PythonResult<T> = Result<T, PythonError>;
Expand description

Python result type

Aliased Type§

pub enum PythonResult<T> {
    Ok(T),
    Err(PythonError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PythonError)

Contains the error value