pub trait StakeEncodeCall {
// Required method
fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ;
}
Required Methods§
Sourcefn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
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.