Trait ibc_chain_registry::querier::QueryTypes
source · pub trait QueryTypes {
type QueryInput: Debug + Send;
type QueryOutput;
type QueryError;
}Expand description
QueryTypes represents the basic types required to query a node
Required Associated Types§
sourcetype QueryInput: Debug + Send
type QueryInput: Debug + Send
QueryInput represents the data needed to query a node. It is typically a URL
sourcetype QueryOutput
type QueryOutput
QueryOutput represents the data returned by your query
sourcetype QueryError
type QueryError
QueryOutput represents the error returned when a query fails
Implementors§
source§impl QueryTypes for GrpcHealthCheckQuerier
impl QueryTypes for GrpcHealthCheckQuerier
Expected Input and Output to query a GRPC endpoint
source§impl QueryTypes for SimpleHermesRpcQuerier
impl QueryTypes for SimpleHermesRpcQuerier
Expected Input, Output and Error to query an RPC endpoint