pub trait ApplyObserver: Send + Sync {
// Required method
fn event(&self, e: &ApplyEvent);
}Expand description
Hears each ApplyEvent as it happens.
Required Methods§
Sourcefn event(&self, e: &ApplyEvent)
fn event(&self, e: &ApplyEvent)
One step happened.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".