Trait ibc_proto::ibc::lightclients::wasm::v1::msg_server::Msg
source · 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.