pub trait ToPyResult {
    // Required method
    fn to_pyresult(self, vm: &VirtualMachine) -> PyResult;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<T, E> ToPyResult for Result<T, E>where T: ToPyObject, E: IntoPyException,

Implementors§