pub struct ReflectionService { /* private fields */ }
Expand description
An implementation for ServerReflection
.
Trait Implementations§
Source§impl Debug for ReflectionService
impl Debug for ReflectionService
Source§impl ServerReflection for ReflectionService
impl ServerReflection for ReflectionService
Source§type ServerReflectionInfoStream = ServerReflectionInfoStream
type ServerReflectionInfoStream = ServerReflectionInfoStream
Server streaming response type for the ServerReflectionInfo method.
Source§fn server_reflection_info<'life0, 'async_trait>(
&'life0 self,
req: Request<Streaming<ServerReflectionRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ServerReflectionInfoStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn server_reflection_info<'life0, 'async_trait>(
&'life0 self,
req: Request<Streaming<ServerReflectionRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ServerReflectionInfoStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The reflection service is structured as a bidirectional stream, ensuring
all related requests go to a single server.
Auto Trait Implementations§
impl Freeze for ReflectionService
impl RefUnwindSafe for ReflectionService
impl Send for ReflectionService
impl Sync for ReflectionService
impl Unpin for ReflectionService
impl UnwindSafe for ReflectionService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request