Type Definition pyo3::prelude::PyResult[][src]

type PyResult<T> = Result<T, PyErr>;

Represents the result of a Python call.

Trait Implementations

impl<T> Into<PyResult<T>> for PyErr
[src]

Convert PyErr to PyResult<T>

Performs the conversion.

impl<T> Into<PyResult<T>> for CancelledError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for InvalidStateError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for TimeoutError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for IncompleteReadError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for LimitOverrunError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for QueueEmpty
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for QueueFull
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for herror
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for gaierror
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for timeout
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for BaseException
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for Exception
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for StopAsyncIteration
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for StopIteration
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for GeneratorExit
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ArithmeticError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for LookupError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for AssertionError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for AttributeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for BufferError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for EOFError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for FloatingPointError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for OSError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ImportError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for IndexError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for KeyError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for KeyboardInterrupt
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for MemoryError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for NameError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for OverflowError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for RuntimeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for RecursionError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for NotImplementedError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for SyntaxError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ReferenceError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for SystemError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for SystemExit
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for TypeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for UnboundLocalError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for UnicodeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for UnicodeDecodeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for UnicodeEncodeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for UnicodeTranslateError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ValueError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ZeroDivisionError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for BlockingIOError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for BrokenPipeError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ChildProcessError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ConnectionError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ConnectionAbortedError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ConnectionRefusedError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ConnectionResetError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for FileExistsError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for FileNotFoundError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for InterruptedError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for IsADirectoryError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for NotADirectoryError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for PermissionError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for ProcessLookupError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for TimeoutError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for EnvironmentError
[src]

Performs the conversion.

impl<T> Into<PyResult<T>> for IOError
[src]

Performs the conversion.