Skip to main content

ApplyObserver

Trait ApplyObserver 

Source
pub trait ApplyObserver: Send + Sync {
    // Required method
    fn event(&self, e: &ApplyEvent);
}
Expand description

Hears each ApplyEvent as it happens.

Required Methods§

Source

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".

Implementors§