pub trait StoreExt {
// Required method
unsafe fn set_signal_handler<H>(&mut self, handler: H)
where H: 'static + Fn(c_int, *const siginfo_t, *const c_void) -> bool + Send + Sync;
}
Available on crate feature
runtime
only.Expand description
Extensions for the Store
type only available on Unix.
Required Methods§
sourceunsafe 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.
Object Safety§
This trait is not object safe.