Trait boot_core::cosmos_modules::params::query_server::Query
pub trait Query: 'static + Send + Sync {
fn params<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryParamsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with QueryServer.
Required Methods
fn params<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryParamsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn params<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryParamsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
Params queries a specific parameter of a module, given its subspace and key.