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§
fn session_keys(keys: &AuthorityKeys) -> SessionKeys
Object Safety§
This trait is not object safe.