[][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]

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

impl PyErrArguments for Infallible[src]

impl PyErrArguments for TryFromSliceError[src]

impl PyErrArguments for ParseIntError[src]

impl PyErrArguments for ParseFloatError[src]

impl PyErrArguments for TryFromIntError[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...