type PyResult<T = PyObjectRef> =Result<T,PyBaseExceptionRef>;
Use this type for functions which return a python object or an exception.Both the python object and the python exception arePyObjectRef
typessince exceptions are also python objects.
implIntoPyNoResult forPyResult<()>
[src]fninto_noresult(self) ->PyResult<()>
[src]impl<T>IntoPyObject forPyResult<T>where
T:IntoPyObject,
[src]fninto_pyobject(self, vm: &VirtualMachine) ->PyResult
[src]