pub trait EventSink {
// Required method
fn emit_event(&mut self, event: &ProtocolEvent) -> Result<()>;
}Expand description
The normalized event boundary shared by the machine protocol and the TUI.
Required Methods§
fn emit_event(&mut self, event: &ProtocolEvent) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".