pub unsafe trait SafeHandler: Into<Arc<dyn Handler>> { }
Expand description
A type may implement this trait to indicate that it can be converted into an async-signal-safe function. ie. one that is safe to call from a signal handler.
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.