pub trait OnRoundRotation {
// Required method
fn on_round_rotation(ending: u32);
}
Expand description
Trait to notify other sub-systems that a round has ended.
Required Methods§
Sourcefn on_round_rotation(ending: u32)
fn on_round_rotation(ending: u32)
ending
round has ended. Implies we are now at round ending + 1
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.