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§

source

type QueryInput: Debug + Send

QueryInput represents the data needed to query a node. It is typically a URL

source

type QueryOutput

QueryOutput represents the data returned by your query

source

type QueryError

QueryOutput represents the error returned when a query fails

Implementors§

source§

impl QueryTypes for GrpcHealthCheckQuerier

Expected Input and Output to query a GRPC endpoint

source§

impl QueryTypes for SimpleHermesRpcQuerier

Expected Input, Output and Error to query an RPC endpoint