Struct ownable_std::EmptyQuerier
source · pub struct EmptyQuerier {}
Expand description
Empty Querier that is meant to conform the traits expected by the cosmwasm standard contract syntax. It should not be used whatsoever
Trait Implementations§
source§impl Default for EmptyQuerier
impl Default for EmptyQuerier
source§fn default() -> EmptyQuerier
fn default() -> EmptyQuerier
Returns the “default value” for a type. Read more
source§impl Querier for EmptyQuerier
impl Querier for EmptyQuerier
source§fn raw_query(&self, _bin_request: &[u8]) -> QuerierResult
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