pub trait EventSink {
// Required method
fn push(&mut self, event: BlockEvent<'_>) -> Result<()>;
}Expand description
Sink that accepts events emitted by a processor during a block.
Required Methods§
Sourcefn push(&mut self, event: BlockEvent<'_>) -> Result<()>
fn push(&mut self, event: BlockEvent<'_>) -> Result<()>
Pushes one event into the sink.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".