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