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 '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.