pub trait Msg: Send + Sync + 'static {
    fn software_upgrade<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgSoftwareUpgrade>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSoftwareUpgradeResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn cancel_upgrade<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgCancelUpgrade>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCancelUpgradeResponse>, 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§

SoftwareUpgrade is a governance operation for initiating a software upgrade.

Since: cosmos-sdk 0.46

CancelUpgrade is a governance operation for cancelling a previously approvid software upgrade.

Since: cosmos-sdk 0.46

Implementors§