Trait ibc_proto::cosmos::base::reflection::v1beta1::reflection_service_server::ReflectionService
source · 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§
sourcefn 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_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.
sourcefn 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,
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.