Skip to main content

EventSink

Trait EventSink 

Source
pub trait EventSink: Send + Sync {
    // Required method
    fn emit(&self, event: &RunEvent);
}
Expand description

Receives runtime events as they occur.

Required Methods§

Source

fn emit(&self, event: &RunEvent)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§