pub type EventHandler = Box<dyn Fn(Event) -> Option<EventReply> + Send + Sync>;Expand description
Event handler callback type.
Called for each event received from the extension.
Return Some(EventReply) to send a reply (for network interception).
Aliased Typeยง
pub struct EventHandler(/* private fields */);