pub struct MockQuerier { /* private fields */ }
Implementations§
Source§impl MockQuerier
impl MockQuerier
Trait Implementations§
Source§impl Default for MockQuerier
impl Default for MockQuerier
Source§impl Querier for MockQuerier
impl Querier for MockQuerier
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 MockQuerier
impl RefUnwindSafe for MockQuerier
impl Send for MockQuerier
impl Sync for MockQuerier
impl Unpin for MockQuerier
impl UnwindSafe for MockQuerier
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