Trait CosmwasmTxCommit

Source
pub trait CosmwasmTxCommit: ClientTxCommit + ClientAbciQuery {
    // Provided methods
    fn wasm_store_commit<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        req: StoreCodeRequest,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<StoreCodeResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_store_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, I>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        reqs: I,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<StoreCodeBatchResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
       where I: IntoIterator<Item = StoreCodeRequest> + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_instantiate_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        req: InstantiateRequest<S>,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<InstantiateResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
       where S: Serialize + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_instantiate_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S, I>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        reqs: I,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<InstantiateBatchResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
       where S: Serialize + Send + 'async_trait,
             I: IntoIterator<Item = InstantiateRequest<S>> + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_execute_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        req: ExecRequest<S>,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
       where S: Serialize + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_execute_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S, I>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        reqs: I,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
       where S: Serialize + Send + 'async_trait,
             I: IntoIterator<Item = ExecRequest<S>> + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_migrate_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        req: MigrateRequest<S>,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
       where S: Serialize + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
    fn wasm_migrate_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S, I>(
        &'life0 self,
        chain_cfg: &'life1 ChainConfig,
        reqs: I,
        key: &'life2 SigningKey,
        tx_options: &'life3 TxOptions,
    ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
       where S: Serialize + Send + 'async_trait,
             I: IntoIterator<Item = MigrateRequest<S>> + Send + 'async_trait,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait { ... }
}

Provided Methods§

Source

fn wasm_store_commit<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, chain_cfg: &'life1 ChainConfig, req: StoreCodeRequest, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<StoreCodeResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_store_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, I>( &'life0 self, chain_cfg: &'life1 ChainConfig, reqs: I, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<StoreCodeBatchResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
where I: IntoIterator<Item = StoreCodeRequest> + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_instantiate_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S>( &'life0 self, chain_cfg: &'life1 ChainConfig, req: InstantiateRequest<S>, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<InstantiateResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
where S: Serialize + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_instantiate_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S, I>( &'life0 self, chain_cfg: &'life1 ChainConfig, reqs: I, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<InstantiateBatchResponse<<Self as ClientTxCommit>::Response>, CosmwasmError>> + Send + 'async_trait>>
where S: Serialize + Send + 'async_trait, I: IntoIterator<Item = InstantiateRequest<S>> + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_execute_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S>( &'life0 self, chain_cfg: &'life1 ChainConfig, req: ExecRequest<S>, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
where S: Serialize + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_execute_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S, I>( &'life0 self, chain_cfg: &'life1 ChainConfig, reqs: I, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
where S: Serialize + Send + 'async_trait, I: IntoIterator<Item = ExecRequest<S>> + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_migrate_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S>( &'life0 self, chain_cfg: &'life1 ChainConfig, req: MigrateRequest<S>, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
where S: Serialize + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn wasm_migrate_batch_commit<'life0, 'life1, 'life2, 'life3, 'async_trait, S, I>( &'life0 self, chain_cfg: &'life1 ChainConfig, reqs: I, key: &'life2 SigningKey, tx_options: &'life3 TxOptions, ) -> Pin<Box<dyn Future<Output = Result<<Self as ClientTxCommit>::Response, CosmwasmError>> + Send + 'async_trait>>
where S: Serialize + Send + 'async_trait, I: IntoIterator<Item = MigrateRequest<S>> + Send + 'async_trait, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§