pub trait Msg: Send + Sync + 'static {
Show 19 methods // Required methods fn channel_open_init<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelOpenInit> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelOpenInitResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_open_try<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelOpenTry> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelOpenTryResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_open_ack<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelOpenAck> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelOpenAckResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_open_confirm<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelOpenConfirm> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelOpenConfirmResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_close_init<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelCloseInit> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelCloseInitResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_close_confirm<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelCloseConfirm> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelCloseConfirmResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn recv_packet<'life0, 'async_trait>( &'life0 self, request: Request<MsgRecvPacket> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRecvPacketResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn timeout<'life0, 'async_trait>( &'life0 self, request: Request<MsgTimeout> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgTimeoutResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn timeout_on_close<'life0, 'async_trait>( &'life0 self, request: Request<MsgTimeoutOnClose> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgTimeoutOnCloseResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn acknowledgement<'life0, 'async_trait>( &'life0 self, request: Request<MsgAcknowledgement> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgAcknowledgementResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_init<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeInit> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeInitResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_try<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeTry> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeTryResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_ack<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeAck> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeAckResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_confirm<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeConfirm> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeConfirmResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_open<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeOpen> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeOpenResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_timeout<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeTimeout> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeTimeoutResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn channel_upgrade_cancel<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelUpgradeCancel> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelUpgradeCancelResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_channel_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 prune_acknowledgements<'life0, 'async_trait>( &'life0 self, request: Request<MsgPruneAcknowledgements> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgPruneAcknowledgementsResponse>, 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 channel_open_init<'life0, 'async_trait>( &'life0 self, request: Request<MsgChannelOpenInit> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgChannelOpenInitResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.

source

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

ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.

source

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

ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.

source

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

ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.

source

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

ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.

source

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

ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm.

source

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

RecvPacket defines a rpc handler method for MsgRecvPacket.

source

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

Timeout defines a rpc handler method for MsgTimeout.

source

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

TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.

source

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

Acknowledgement defines a rpc handler method for MsgAcknowledgement.

source

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

ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit.

source

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

ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry.

source

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

ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck.

source

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

ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm.

source

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

ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen.

source

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

ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout.

source

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

ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel.

source

fn update_channel_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,

UpdateChannelParams defines a rpc handler method for MsgUpdateParams.

source

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

PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements.

Implementors§