pub trait Msg: Send + Sync + 'static {
    // Required methods
    fn connection_open_init<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgConnectionOpenInit>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenInitResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connection_open_try<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgConnectionOpenTry>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenTryResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connection_open_ack<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgConnectionOpenAck>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenAckResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connection_open_confirm<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgConnectionOpenConfirm>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenConfirmResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_connection_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§

source

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

ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.

source

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

ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.

source

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

ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.

source

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

ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.

source

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

UpdateConnectionParams defines a rpc handler method for MsgUpdateParams.

Implementors§