[][src]Trait pyo3::PyErrArguments

pub trait PyErrArguments {
    fn arguments(&self, _: Python) -> PyObject;
}

Helper conversion trait that allows to use custom arguments for exception constructor.

Required methods

fn arguments(&self, _: Python) -> PyObject

Arguments for exception

Loading content...

Implementations on Foreign Types

impl PyErrArguments for Error[src]

Extract errno and errdesc from from io::Error

impl<W: Send + Debug> PyErrArguments for IntoInnerError<W>[src]

impl PyErrArguments for ParseIntError[src]

impl PyErrArguments for ParseFloatError[src]

impl PyErrArguments for ParseError[src]

impl PyErrArguments for ParseBoolError[src]

impl PyErrArguments for IntoStringError[src]

impl PyErrArguments for NulError[src]

impl PyErrArguments for Utf8Error[src]

impl PyErrArguments for FromUtf8Error[src]

impl PyErrArguments for FromUtf16Error[src]

impl PyErrArguments for DecodeUtf16Error[src]

impl PyErrArguments for AddrParseError[src]

Loading content...

Implementors

Loading content...