pub trait CommonModuleInit: Debug + Sized {
type ClientConfig: ClientConfig;
const CONSENSUS_VERSION: ModuleConsensusVersion;
const KIND: ModuleKind;
// Required method
fn decoder() -> Decoder;
}
Expand description
Logic and constant common between server side and client side modules
Required Associated Constants§
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.