pub trait IbcTokenTransferMessageBuilder<ChainDriver, Counterparty>where
Counterparty: HasAddressType,
ChainDriver: HasErrorType + HasAmountType + HasMemoType + HasMessageType + HasHeightType + HasTimestampType + HasIbcChainTypes<Counterparty>,{
// Required method
fn build_ibc_token_transfer_message(
chain_driver: &ChainDriver,
channel_id: &ChainDriver::ChannelId,
port_id: &ChainDriver::PortId,
recipient_address: &Counterparty::Address,
amount: &ChainDriver::Amount,
memo: &ChainDriver::Memo,
timeout_height: Option<&ChainDriver::Height>,
timeout_time: Option<&ChainDriver::Timestamp>,
) -> impl Future<Output = Result<ChainDriver::Message, ChainDriver::Error>> + Send;
}
Required Methods§
fn build_ibc_token_transfer_message( chain_driver: &ChainDriver, channel_id: &ChainDriver::ChannelId, port_id: &ChainDriver::PortId, recipient_address: &Counterparty::Address, amount: &ChainDriver::Amount, memo: &ChainDriver::Memo, timeout_height: Option<&ChainDriver::Height>, timeout_time: Option<&ChainDriver::Timestamp>, ) -> impl Future<Output = Result<ChainDriver::Message, ChainDriver::Error>> + Send
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.