Skip to main content

IntoPyException

Trait IntoPyException 

Source
pub trait IntoPyException {
    // Required method
    fn into_pyexception(self, vm: &VirtualMachine) -> PyBaseExceptionRef;
}

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 IntoPyException for Errno

Available on Unix only.
Source§

impl IntoPyException for Error

Source§

impl IntoPyException for Error

Available on Unix only.
Source§

impl IntoPyException for FormatSpecError

Source§

impl<T> IntoPyException for &T
where T: ToPyException,

Implementors§