Skip to main content

OnInterestChanged

Trait OnInterestChanged 

Source
pub trait OnInterestChanged {
    // Required method
    fn on_changed(&self, severity: Severity);
}
Expand description

Callback for interest listeners

Required Methods§

Source

fn on_changed(&self, severity: Severity)

Callback for when the interest changes

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§