Skip to main content

ExecutionObserver

Trait ExecutionObserver 

Source
pub trait ExecutionObserver: Send + Sync {
    // Required method
    fn on_event(&self, event: &ExecutionEvent);
}
Expand description

Observer hook for execution events.

Required Methods§

Source

fn on_event(&self, event: &ExecutionEvent)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§