pub trait OnTimestampSet<Moment> {
// Required method
fn on_timestamp_set(moment: Moment);
}
Expand description
A trait which is called when the timestamp is set.
Required Methods§
fn on_timestamp_set(moment: Moment)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.