Trait Exception

Source
pub unsafe trait Exception {
    const CLASS: [u8; 8];

    // Required methods
    fn wrap(this: Self) -> *mut UnwindException;
    unsafe fn unwrap(ex: *mut UnwindException) -> Self;
}

Required Associated Constants§

Source

const CLASS: [u8; 8]

Required Methods§

Source

fn wrap(this: Self) -> *mut UnwindException

Source

unsafe fn unwrap(ex: *mut UnwindException) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§