fedimint_core::module

Trait ModuleCommon

source
pub trait ModuleCommon {
    type ClientConfig: ClientConfig;
    type Input: Input;
    type Output: Output;
    type OutputOutcome: OutputOutcome;
    type ConsensusItem: ModuleConsensusItem;
    type InputError: InputError;
    type OutputError: OutputError;

    // Provided methods
    fn decoder_builder() -> DecoderBuilder { ... }
    fn decoder() -> Decoder { ... }
}
Expand description

Module associated types required by both client and server

Required Associated Types§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§