referrerpolicy=no-referrer-when-downgrade
pub trait OnNewSession<N> {
    // Required method
    fn on_new_session(notification: &SessionChangeNotification<N>);
}
Expand description

Inform something about a new session.

Required Methods§

source

fn on_new_session(notification: &SessionChangeNotification<N>)

A new session was started.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<N> OnNewSession<N> for ()

Implementors§

source§

impl<T: Config> OnNewSession<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>