Trait boot_core::cosmos_modules::feegrant::query_server::Query
pub trait Query: 'static + Send + Sync {
fn allowance<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAllowanceRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowanceResponse>, Status>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn allowances<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAllowancesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowancesResponse>, 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 allowance<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAllowanceRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowanceResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn allowance<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAllowanceRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowanceResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
Allowance returns fee granted to the grantee by the granter.
fn allowances<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAllowancesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowancesResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn allowances<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAllowancesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowancesResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
Allowances returns all the grants for address.