pub trait ReloadCallback {
// Required method
fn invoke(&self);
}Available on crate feature
reloading only.Expand description
Trait for invoking reload callbacks.
This trait allows both () (no callback) and Fn() types to be used
as the callback type in ReloadingConfig.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".