[][src]Trait cosmwasm_vm::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.

Loading content...

Implementors

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

Loading content...