pub trait SessionKeysProvider<SessionKeys: Encode> {
    // Required method
    fn session_keys(keys: &AuthorityKeys) -> SessionKeys;
}
Expand description

Because SessionKeys struct is defined by each Runtime, it cannot be constructed here. Its construction must be provided.

Required Methods§

source

fn session_keys(keys: &AuthorityKeys) -> SessionKeys

Object Safety§

This trait is not object safe.

Implementors§