Lines Matching refs:Feature
112 rpc GetFeature(Point) returns (Feature) {}
124 rpc ListFeatures(Rectangle) returns (stream Feature) {}
206 - Struct definitions for message types `Point`, `Rectangle`, `Feature`, `RouteNote`, `RouteSummary`.
255 use routeguide::{Feature, Point, Rectangle, RouteNote, RouteSummary};
274 async fn get_feature(&self, _request: Request<Point>) -> Result<Response<Feature>, Status> {
278 type ListFeaturesStream = ReceiverStream<Result<Feature, Status>>;
320 features: Arc<Vec<Feature>>,
373 - A stream of values, e.g. `impl Stream<Item = Result<Feature, tonic::Status>>`.
381 async fn get_feature(&self, request: Request<Point>) -> Result<Response<Feature>, Status> {
388 Ok(Response::new(Feature::default()))
395 need to send back multiple `Feature`s to our client.
398 type ListFeaturesStream = ReceiverStream<Result<Feature, Status>>;
641 `tonic::Request`. We get a `Result<tonic::Response<Feature>, tonic::Status>` back.
645 geographical `Feature`s.
682 server's responses to a response protocol buffer object (in this case a `Feature`) until there are