Trait ibc_proto::ibc::applications::interchain_accounts::controller::v1::msg_server::Msg
source · 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;
fn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, 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§
sourcefn 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 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.
sourcefn 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,
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.
sourcefn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_params<'life0, 'async_trait>( &'life0 self, request: Request<MsgUpdateParams> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
UpdateParams defines a rpc handler for MsgUpdateParams.