Lines Matching refs:Response
11 use tonic::{body::Body, server::NamedService, Code, Request, Response, Status};
20 type Result<T> = StdResult<Response<T>, Status>;
28 Ok(Response::new(Empty {})) in empty_call()
54 Ok(Response::new(res)) in unary_call()
81 Ok(Response::new( in streaming_output_call()
101 Ok(Response::new(res)) in streaming_input_call()
137 Ok(Response::new(Box::pin(stream) as Self::FullDuplexCallStream)) in full_duplex_call()
140 Ok(Response::new(Box::pin(stream) as Self::FullDuplexCallStream)) in full_duplex_call()
185 S: Service<http::Request<Body>, Response = http::Response<Body>> + Send,
188 type Response = S::Response; typedef
190 type Future = BoxFuture<Self::Response, Self::Error>;