pub trait Msg: Send + Sync + 'static {
    // 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;
}
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.

Implementors§