pub trait ReflectionService:
Send
+ Sync
+ 'static {
// Required methods
fn list_all_interfaces<'life0, 'async_trait>(
&'life0 self,
request: Request<ListAllInterfacesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListAllInterfacesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_implementations<'life0, 'async_trait>(
&'life0 self,
request: Request<ListImplementationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListImplementationsResponse>, 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 ReflectionServiceServer.