fedimint_core::module

Trait CommonModuleInit

Source
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§

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.

Implementors§