pub trait PyErrArguments: Send + Sync {
// Required method
fn arguments(self, py: Python<'_>) -> Py<PyAny>;
}Expand description
Helper conversion trait that allows to use custom arguments for lazy exception construction.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl PyErrArguments for AddrParseError
impl PyErrArguments for AddrParseError
Source§impl PyErrArguments for CharTryFromError
impl PyErrArguments for CharTryFromError
Source§impl PyErrArguments for Error
Available on wip_feature_std only.
impl PyErrArguments for Error
Available on
wip_feature_std only.Source§impl PyErrArguments for FromUtf8Error
impl PyErrArguments for FromUtf8Error
Source§impl PyErrArguments for IntoStringError
impl PyErrArguments for IntoStringError
Source§impl PyErrArguments for JoinPathsError
impl PyErrArguments for JoinPathsError
Source§impl PyErrArguments for ParseBoolError
impl PyErrArguments for ParseBoolError
Source§impl PyErrArguments for ParseCharError
impl PyErrArguments for ParseCharError
Source§impl PyErrArguments for ParseFloatError
impl PyErrArguments for ParseFloatError
Source§impl PyErrArguments for ParseIntError
impl PyErrArguments for ParseIntError
Source§impl PyErrArguments for StripPrefixError
impl PyErrArguments for StripPrefixError
Source§impl PyErrArguments for SystemTimeError
impl PyErrArguments for SystemTimeError
Source§impl PyErrArguments for TryFromIntError
impl PyErrArguments for TryFromIntError
Source§impl PyErrArguments for TryFromSliceError
impl PyErrArguments for TryFromSliceError
Source§impl<W: Send + Sync> PyErrArguments for IntoInnerError<W>
Available on wip_feature_std only.
impl<W: Send + Sync> PyErrArguments for IntoInnerError<W>
Available on
wip_feature_std only.