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§
fn encode(self) -> Result<Self::EvmType, Error>
fn decode(evm_type: &Self::EvmType) -> Result<Self, Error>
Object Safety§
This trait is not object safe.