Trait pyo3::PyErrArguments [] [src]

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

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

Required Methods

Arguments for exception

Implementations on Foreign Types

impl PyErrArguments for Error
[src]

Extract errno and errdesc from from io::Error

[src]

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

[src]

impl PyErrArguments for ParseIntError
[src]

[src]

impl PyErrArguments for ParseFloatError
[src]

[src]

impl PyErrArguments for ParseError
[src]

[src]

impl PyErrArguments for ParseBoolError
[src]

[src]

impl PyErrArguments for IntoStringError
[src]

[src]

impl PyErrArguments for NulError
[src]

[src]

impl PyErrArguments for Utf8Error
[src]

[src]

impl PyErrArguments for FromUtf8Error
[src]

[src]

impl PyErrArguments for FromUtf16Error
[src]

[src]

impl PyErrArguments for DecodeUtf16Error
[src]

[src]

impl PyErrArguments for AddrParseError
[src]

[src]

Implementors