Trait ibc_proto::interchain_security::ccv::consumer::v1::query_server::Query
source · pub trait Query: Send + Sync + 'static {
// Required methods
fn query_next_fee_distribution<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryNextFeeDistributionEstimateRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextFeeDistributionEstimateResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn query_params<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryParamsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, 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§
sourcefn query_next_fee_distribution<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryNextFeeDistributionEstimateRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextFeeDistributionEstimateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_next_fee_distribution<'life0, 'async_trait>( &'life0 self, request: Request<QueryNextFeeDistributionEstimateRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextFeeDistributionEstimateResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
ConsumerGenesis queries the genesis state needed to start a consumer chain whose proposal has been accepted
sourcefn query_params<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryParamsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_params<'life0, 'async_trait>( &'life0 self, request: Request<QueryParamsRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
QueryParams queries the ccv/consumer module parameters.