pub trait Msg:
Send
+ Sync
+ 'static {
// Required methods
fn store_code<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgStoreCode>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgStoreCodeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_checksum<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRemoveChecksum>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRemoveChecksumResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn migrate_contract<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMigrateContract>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMigrateContractResponse>, 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 store_code<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgStoreCode>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgStoreCodeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn store_code<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgStoreCode>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgStoreCodeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
StoreCode defines a rpc handler method for MsgStoreCode.
Sourcefn remove_checksum<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRemoveChecksum>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRemoveChecksumResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove_checksum<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRemoveChecksum>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRemoveChecksumResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
RemoveChecksum defines a rpc handler method for MsgRemoveChecksum.
Sourcefn migrate_contract<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMigrateContract>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMigrateContractResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn migrate_contract<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMigrateContract>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMigrateContractResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
MigrateContract defines a rpc handler method for MsgMigrateContract.