pub trait HookEvent: Sealed {
type Event<'a>: Send;
}Expand description
A hook event type, as the registry keys it (sealed).
Implemented by 'static markers: per-tool events themselves and the 'static form of
borrowing events, such as BeforeInvocationEvent<'static>. Event<'a> is the event type
callbacks receive.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".