Trait penumbra_proto::penumbra::core::component::community_pool::v1::query_service_server::QueryService
source · pub trait QueryService: Send + Sync + 'static {
type CommunityPoolAssetBalancesStream: Stream<Item = Result<CommunityPoolAssetBalancesResponse, Status>> + Send + 'static;
// Required method
fn community_pool_asset_balances<'life0, 'async_trait>(
&'life0 self,
request: Request<CommunityPoolAssetBalancesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<Self::CommunityPoolAssetBalancesStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Available on crate feature
rpc
only.Expand description
Generated trait containing gRPC methods that should be implemented for use with QueryServiceServer.
Required Associated Types§
sourcetype CommunityPoolAssetBalancesStream: Stream<Item = Result<CommunityPoolAssetBalancesResponse, Status>> + Send + 'static
type CommunityPoolAssetBalancesStream: Stream<Item = Result<CommunityPoolAssetBalancesResponse, Status>> + Send + 'static
Server streaming response type for the CommunityPoolAssetBalances method.