pub trait TypedServerModuleConsensusConfig: DeserializeOwned + Serialize + Encodable + Decodable {
    // Required methods
    fn kind(&self) -> ModuleKind;
    fn version(&self) -> ModuleConsensusVersion;

    // Provided method
    fn from_erased(erased: &ServerModuleConsensusConfig) -> Result<Self> { ... }
}
Expand description

Consensus-critical part of a server side module config

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§