pub trait EncodeCall<M: Module> {
    // Required method
    fn encode_call(data: M::CallMessage) -> Vec<u8>;
}
Expand description

A trait that specifies how a runtime should encode the data for each module

Required Methods§

source

fn encode_call(data: M::CallMessage) -> Vec<u8>

The encoding function

Implementors§