Trait StoreExt
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§
unsafe fn set_signal_handler<H>(&mut self, handler: H)
unsafe fn set_signal_handler<H>(&mut self, handler: H)
The signal handler must be async-signal-safe.
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.