pub trait Query: Send + Sync + 'static {
    // Required methods
    fn connection<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryConnectionRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connections<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryConnectionsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn client_connections<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryClientConnectionsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientConnectionsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connection_client_state<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryConnectionClientStateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionClientStateResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connection_consensus_state<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryConnectionConsensusStateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionConsensusStateResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connection_params<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryConnectionParamsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionParamsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with QueryServer.

Required Methods§

source

fn connection<'life0, 'async_trait>( &'life0 self, request: Request<QueryConnectionRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Connection queries an IBC connection end.

source

fn connections<'life0, 'async_trait>( &'life0 self, request: Request<QueryConnectionsRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Connections queries all the IBC connections of a chain.

source

fn client_connections<'life0, 'async_trait>( &'life0 self, request: Request<QueryClientConnectionsRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientConnectionsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

ClientConnections queries the connection paths associated with a client state.

source

fn connection_client_state<'life0, 'async_trait>( &'life0 self, request: Request<QueryConnectionClientStateRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionClientStateResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

ConnectionClientState queries the client state associated with the connection.

source

fn connection_consensus_state<'life0, 'async_trait>( &'life0 self, request: Request<QueryConnectionConsensusStateRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionConsensusStateResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

ConnectionConsensusState queries the consensus state associated with the connection.

source

fn connection_params<'life0, 'async_trait>( &'life0 self, request: Request<QueryConnectionParamsRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionParamsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

ConnectionParams queries all parameters of the ibc connection submodule.

Implementors§