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
Auto Trait Implementations§
impl Freeze for EmptyQuerier
impl RefUnwindSafe for EmptyQuerier
impl Send for EmptyQuerier
impl Sync for EmptyQuerier
impl Unpin for EmptyQuerier
impl UnwindSafe for EmptyQuerier
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more