pub trait Msg: Send + Sync + 'static {
    fn create_client<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgCreateClient>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCreateClientResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn update_client<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgUpdateClient>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateClientResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn upgrade_client<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgUpgradeClient>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpgradeClientResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn submit_misbehaviour<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgSubmitMisbehaviour>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitMisbehaviourResponse>, 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

CreateClient defines a rpc handler method for MsgCreateClient.

UpdateClient defines a rpc handler method for MsgUpdateClient.

UpgradeClient defines a rpc handler method for MsgUpgradeClient.

SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.

Implementors