pub trait Msg: Send + Sync + 'static {
    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
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods§

ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.

ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.

ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.

ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.

Implementors§