pub trait OnNewSession<N> {
// Required method
fn on_new_session(notification: &SessionChangeNotification<N>);
}
Expand description
Inform something about a new session.
Required Methods§
Sourcefn on_new_session(notification: &SessionChangeNotification<N>)
fn on_new_session(notification: &SessionChangeNotification<N>)
A new session was started.
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.