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 Self: 'async_trait,
             'life0: '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 Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

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

Required Methods§

source

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 Self: 'async_trait, 'life0: 'async_trait,

ListAllInterfaces lists all the interfaces registered in the interface registry.

source

fn list_implementations<'life0, 'async_trait>( &'life0 self, request: Request<ListImplementationsRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<ListImplementationsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

ListImplementations list all the concrete types that implement a given interface.

Implementors§