pub trait IntoPyException {
// Required method
fn into_pyexception(self, vm: &VirtualMachine) -> PyBaseExceptionRef;
}Required Methods§
fn into_pyexception(self, vm: &VirtualMachine) -> PyBaseExceptionRef
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl IntoPyException for Errno
Available on Unix only.
impl IntoPyException for Errno
Available on Unix only.
fn into_pyexception(self, vm: &VirtualMachine) -> PyBaseExceptionRef
Source§impl IntoPyException for Error
impl IntoPyException for Error
fn into_pyexception(self, vm: &VirtualMachine) -> PyBaseExceptionRef
Source§impl IntoPyException for Error
Available on Unix only.
impl IntoPyException for Error
Available on Unix only.