Trait abstract_std::ibc_client::QueryMsgFns
source · pub trait QueryMsgFns<Chain: QueryHandler + ChainState>: CwOrchQuery<Chain, QueryMsg = QueryMsg> {
// Provided methods
fn ownership(&self) -> Result<Ownership<Addr>, CwOrchError> { ... }
fn config(&self) -> Result<ConfigResponse, CwOrchError> { ... }
fn host(&self, chain_name: String) -> Result<HostResponse, CwOrchError> { ... }
fn list_accounts(
&self,
limit: Option<u32>,
start: Option<(AccountId, String)>
) -> Result<ListAccountsResponse, CwOrchError> { ... }
fn account(
&self,
account_id: AccountId,
chain: String
) -> Result<AccountResponse, CwOrchError> { ... }
fn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwOrchError> { ... }
fn list_remote_proxies(
&self
) -> Result<ListRemoteProxiesResponse, CwOrchError> { ... }
fn list_remote_proxies_by_account_id(
&self,
account_id: AccountId
) -> Result<ListRemoteProxiesResponse, CwOrchError> { ... }
fn list_ibc_infrastructures(
&self
) -> Result<ListIbcInfrastructureResponse, CwOrchError> { ... }
}
Expand description
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Provided Methods§
sourcefn ownership(&self) -> Result<Ownership<Addr>, CwOrchError>
fn ownership(&self) -> Result<Ownership<Addr>, CwOrchError>
Automatically generated wrapper around QueryMsg::Ownership variant
sourcefn config(&self) -> Result<ConfigResponse, CwOrchError>
fn config(&self) -> Result<ConfigResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::Config variant
sourcefn host(&self, chain_name: String) -> Result<HostResponse, CwOrchError>
fn host(&self, chain_name: String) -> Result<HostResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::Host variant
sourcefn list_accounts(
&self,
limit: Option<u32>,
start: Option<(AccountId, String)>
) -> Result<ListAccountsResponse, CwOrchError>
fn list_accounts( &self, limit: Option<u32>, start: Option<(AccountId, String)> ) -> Result<ListAccountsResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ListAccounts variant
sourcefn account(
&self,
account_id: AccountId,
chain: String
) -> Result<AccountResponse, CwOrchError>
fn account( &self, account_id: AccountId, chain: String ) -> Result<AccountResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::Account variant
sourcefn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwOrchError>
fn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ListRemoteHosts variant
sourcefn list_remote_proxies(&self) -> Result<ListRemoteProxiesResponse, CwOrchError>
fn list_remote_proxies(&self) -> Result<ListRemoteProxiesResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ListRemoteProxies variant
sourcefn list_remote_proxies_by_account_id(
&self,
account_id: AccountId
) -> Result<ListRemoteProxiesResponse, CwOrchError>
fn list_remote_proxies_by_account_id( &self, account_id: AccountId ) -> Result<ListRemoteProxiesResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ListRemoteProxiesByAccountId variant
sourcefn list_ibc_infrastructures(
&self
) -> Result<ListIbcInfrastructureResponse, CwOrchError>
fn list_ibc_infrastructures( &self ) -> Result<ListIbcInfrastructureResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ListIbcInfrastructures variant