Trait polytone_evm::ibc::msg_data::MsgData

source ·
pub trait MsgData: Sized {
    type EvmType: SolValue;

    // Provided methods
    fn encode(self) -> Result<Self::EvmType, Error> { ... }
    fn decode(evm_type: &Self::EvmType) -> Result<Self, Error> { ... }
}
Expand description

Trait that identifies encoding messages for EVM

Required Associated Types§

Provided Methods§

source

fn encode(self) -> Result<Self::EvmType, Error>

source

fn decode(evm_type: &Self::EvmType) -> Result<Self, Error>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl MsgData for EvmMsg<String>

source§

type EvmType = EvmMsg

source§

impl MsgData for EvmMsg<Address>

source§

type EvmType = EvmMsg

source§

impl MsgData for Msg

source§

type EvmType = Msg

source§

impl MsgData for ExecuteResponsePacket

source§

type EvmType = ExecuteResponsePacket

source§

impl MsgData for ExecuteResult

source§

type EvmType = ExecuteResult