Lines Matching refs:T
159 pub struct ServerReflectionClient<T> {
160 inner: tonic::client::Grpc<T>,
162 impl<T> ServerReflectionClient<T>
164 T: tonic::client::GrpcService<tonic::body::Body>,
165 T::Error: Into<StdError>,
166 T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
167 <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
169 pub fn new(inner: T) -> Self { in new()
173 pub fn with_origin(inner: T, origin: Uri) -> Self { in with_origin() argument
178 inner: T, in with_interceptor() argument
180 ) -> ServerReflectionClient<InterceptedService<T, F>> in with_interceptor() argument
183 T::ResponseBody: Default, in with_interceptor()
184 T: tonic::codegen::Service< in with_interceptor()
187 <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody, in with_interceptor()
190 <T as tonic::codegen::Service< in with_interceptor()
295 pub struct ServerReflectionServer<T> {
296 inner: Arc<T>,
302 impl<T> ServerReflectionServer<T> {
303 pub fn new(inner: T) -> Self { in new()
306 pub fn from_arc(inner: Arc<T>) -> Self { in from_arc()
316 inner: T, in with_interceptor() argument
353 impl<T, B> tonic::codegen::Service<http::Request<B>> for ServerReflectionServer<T>
355 T: ServerReflection,
372 struct ServerReflectionInfoSvc<T: ServerReflection>(pub Arc<T>); in call()
374 T: ServerReflection, in call()
376 for ServerReflectionInfoSvc<T> { in call()
378 type ResponseStream = T::ServerReflectionInfoStream; in call()
391 <T as ServerReflection>::server_reflection_info( in call()
444 impl<T> Clone for ServerReflectionServer<T> {
458 impl<T> tonic::server::NamedService for ServerReflectionServer<T> {