pub trait SignalHandler:
Handler<StopSignal>
+ Handler<TerminateSignal>
+ Sealed { }
Expand description
Actors that are able to handle signals.
This trait is sealed and automatically implemented for actors implementing Handler
s for signals
.
See top-level document for instructions on implementing these traits.
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.