Trait wasmtime::unix::StoreExt[][src]

pub trait StoreExt {
    unsafe fn set_signal_handler<H>(&self, handler: H)
    where
        H: 'static + Fn(c_int, *const siginfo_t, *const c_void) -> bool
; }

Extensions for the Store type only available on Unix.

Required methods

unsafe fn set_signal_handler<H>(&self, handler: H) where
    H: 'static + Fn(c_int, *const siginfo_t, *const c_void) -> bool
[src]

The signal handler must be async-signal-safe.

Loading content...

Implementors

impl StoreExt for Store[src]

Loading content...