Type Alias nu_protocol::Handler
source · pub type Handler = Box<dyn Fn(SignalAction) + Send + Sync>;Expand description
Handler is a closure that can be sent across threads and shared.
Aliased Type§
struct Handler(/* private fields */);pub type Handler = Box<dyn Fn(SignalAction) + Send + Sync>;Handler is a closure that can be sent across threads and shared.
struct Handler(/* private fields */);