Trait CosmwasmQuery

Source
pub trait CosmwasmQuery: ClientAbciQuery {
    // Provided method
    fn wasm_query<'life0, 'life1, 'async_trait, S>(
        &'life0 self,
        address: Address,
        msg: &'life1 S,
    ) -> Pin<Box<dyn Future<Output = Result<QuerySmartContractStateResponse, CosmwasmError>> + Send + 'async_trait>>
       where S: 'async_trait + Serialize + Sync,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Provided Methods§

Source

fn wasm_query<'life0, 'life1, 'async_trait, S>( &'life0 self, address: Address, msg: &'life1 S, ) -> Pin<Box<dyn Future<Output = Result<QuerySmartContractStateResponse, CosmwasmError>> + Send + 'async_trait>>
where S: 'async_trait + Serialize + Sync, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: '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§

Source§

impl<T> CosmwasmQuery for T
where T: ClientAbciQuery,