Trait IbcTokenTransferMessageBuilder

Source
pub trait IbcTokenTransferMessageBuilder<ChainDriver, 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§

Source

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.

Implementors§

Source§

impl<Component, ChainDriver, Counterparty> IbcTokenTransferMessageBuilder<ChainDriver, Counterparty> for Component