pub trait Msg: Send + Sync + 'static {
    // Required methods
    fn register_interchain_account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgRegisterInterchainAccount>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRegisterInterchainAccountResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn send_tx<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgSendTx>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendTxResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with MsgServer.

Required Methods§

source

fn register_interchain_account<'life0, 'async_trait>( &'life0 self, request: Request<MsgRegisterInterchainAccount> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRegisterInterchainAccountResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.

source

fn send_tx<'life0, 'async_trait>( &'life0 self, request: Request<MsgSendTx> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendTxResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

SendTx defines a rpc handler for MsgSendTx.

Implementors§