pub struct InterchainqueriesQuerier<'a, Q: CustomQuery> { /* private fields */ }
Implementations§
Source§impl<'a, Q: CustomQuery> InterchainqueriesQuerier<'a, Q>
impl<'a, Q: CustomQuery> InterchainqueriesQuerier<'a, Q>
pub fn new(querier: &'a QuerierWrapper<'a, Q>) -> Self
pub fn params(&self) -> Result<QueryParamsResponse, StdError>
pub fn registered_queries( &self, owners: Vec<String>, connection_id: String, pagination: Option<PageRequest>, ) -> Result<QueryRegisteredQueriesResponse, StdError>
pub fn registered_query( &self, query_id: u64, ) -> Result<QueryRegisteredQueryResponse, StdError>
pub fn query_result( &self, query_id: u64, ) -> Result<QueryRegisteredQueryResultResponse, StdError>
pub fn last_remote_height( &self, connection_id: String, ) -> Result<QueryLastRemoteHeightResponse, StdError>
Auto Trait Implementations§
impl<'a, Q> Freeze for InterchainqueriesQuerier<'a, Q>
impl<'a, Q> !RefUnwindSafe for InterchainqueriesQuerier<'a, Q>
impl<'a, Q> !Send for InterchainqueriesQuerier<'a, Q>
impl<'a, Q> !Sync for InterchainqueriesQuerier<'a, Q>
impl<'a, Q> Unpin for InterchainqueriesQuerier<'a, Q>
impl<'a, Q> !UnwindSafe for InterchainqueriesQuerier<'a, Q>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more