[][src]Trait cosmwasm_std::Querier

pub trait Querier {
    fn raw_query(&self, bin_request: &[u8]) -> QuerierResult;
}

Required methods

fn raw_query(&self, bin_request: &[u8]) -> QuerierResult

raw_query is all that must be implemented for the Querier. This allows us to pass through binary queries from one level to another without knowing the custom format, or we can decode it, with the knowledge of the allowed types. People using the querier probably want one of the simpler auto-generated helper methods

Loading content...

Implementors

impl<C: CustomQuery + DeserializeOwned> Querier for MockQuerier<C>[src]

Loading content...