pub trait Msg: Send + Sync + 'static {
// Required methods
fn software_upgrade<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSoftwareUpgrade>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSoftwareUpgradeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: '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 Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
Required Methods§
sourcefn software_upgrade<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSoftwareUpgrade>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSoftwareUpgradeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn software_upgrade<'life0, 'async_trait>( &'life0 self, request: Request<MsgSoftwareUpgrade> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSoftwareUpgradeResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
SoftwareUpgrade is a governance operation for initiating a software upgrade.
Since: cosmos-sdk 0.46
sourcefn cancel_upgrade<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgCancelUpgrade>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgCancelUpgradeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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 Self: 'async_trait, 'life0: 'async_trait,
CancelUpgrade is a governance operation for cancelling a previously approved software upgrade.
Since: cosmos-sdk 0.46