Trait wiggle::wasmtime_crate::unix::StoreExt

source ·
pub trait StoreExt {
    // Required method
    unsafe fn set_signal_handler<H>(&mut self, handler: H)
       where H: 'static + Fn(i32, *const siginfo_t, *const c_void) -> bool + Send + Sync;
}
Expand description

Extensions for the Store type only available on Unix.

Required Methods§

source

unsafe fn set_signal_handler<H>(&mut self, handler: H)
where H: 'static + Fn(i32, *const siginfo_t, *const c_void) -> bool + Send + Sync,

The signal handler must be async-signal-safe.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> StoreExt for Store<T>