referrerpolicy=no-referrer-when-downgrade

Trait OnRoundRotation

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl OnRoundRotation for ()

Implementors§