[][src]Trait numpy::error::IntoPyResult

pub trait IntoPyResult {
    type ValueType;
    fn into_pyresult(self) -> PyResult<Self::ValueType>;
fn into_pyresult_with<D: Display>(
        self,
        _: impl FnOnce() -> D
    ) -> PyResult<Self::ValueType>; }

Associated Types

Loading content...

Required methods

fn into_pyresult(self) -> PyResult<Self::ValueType>

fn into_pyresult_with<D: Display>(
    self,
    _: impl FnOnce() -> D
) -> PyResult<Self::ValueType>

Loading content...

Implementations on Foreign Types

impl<T, E: IntoPyErr> IntoPyResult for Result<T, E>[src]

type ValueType = T

Loading content...

Implementors

Loading content...