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§
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
Object Safety§
This trait is not object safe.