pub trait Query: Send + Sync + 'static {
    fn connection<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryConnectionRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: '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
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods§

Connection queries an IBC connection end.

Connections queries all the IBC connections of a chain.

ClientConnections queries the connection paths associated with a client state.

ConnectionClientState queries the client state associated with the connection.

ConnectionConsensusState queries the consensus state associated with the connection.

Implementors§