pub trait NotificationHandler: Send + Sync {
// Required method
fn notify(&self, when: Checkpoint);
}Expand description
A handler to notify when a transaction reaches certain stages of the rendering pipeline.
Required Methods§
Sourcefn notify(&self, when: Checkpoint)
fn notify(&self, when: Checkpoint)
Entry point of the handler to implement. Invoked by WebRender.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".