pub trait ServerReflection: Send + Sync + 'static {
    type ServerReflectionInfoStream: Stream<Item = Result<ServerReflectionResponse, Status>> + Send + 'static;

    fn server_reflection_info<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Streaming<ServerReflectionRequest>>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::ServerReflectionInfoStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with ServerReflectionServer.

Required Associated Types§

Server streaming response type for the ServerReflectionInfo method.

Required Methods§

The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.

Implementors§