pub trait Sink: Send {
// Required methods
fn kinds(&self) -> Vec<EventKind>;
fn handle(&mut self, e: &Event);
}Expand description
A hook that receives events and produces output.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".