Trait abstract_std::ibc_host::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 client_proxies(
&self,
limit: Option<u32>,
start_after: Option<String>
) -> Result<ClientProxiesResponse, CwOrchError> { ... }
fn client_proxy(
&self,
chain: String
) -> Result<ClientProxyResponse, 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 client_proxies(
&self,
limit: Option<u32>,
start_after: Option<String>
) -> Result<ClientProxiesResponse, CwOrchError>
fn client_proxies( &self, limit: Option<u32>, start_after: Option<String> ) -> Result<ClientProxiesResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ClientProxies variant
sourcefn client_proxy(
&self,
chain: String
) -> Result<ClientProxyResponse, CwOrchError>
fn client_proxy( &self, chain: String ) -> Result<ClientProxyResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ClientProxy variant
Object Safety§
This trait is not object safe.