xcm_primitives

Trait StakeEncodeCall

Source
pub trait StakeEncodeCall {
    // Required method
    fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ;
}

Required Methods§

Source

fn encode_call(call: AvailableStakeCalls) -> Vec<u8>

Encode call from the relay.

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§