pub trait ReflectionService:
Send
+ Sync
+ 'static {
// Required methods
fn get_authn_descriptor<'life0, 'async_trait>(
&'life0 self,
request: Request<GetAuthnDescriptorRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAuthnDescriptorResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_chain_descriptor<'life0, 'async_trait>(
&'life0 self,
request: Request<GetChainDescriptorRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetChainDescriptorResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_codec_descriptor<'life0, 'async_trait>(
&'life0 self,
request: Request<GetCodecDescriptorRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCodecDescriptorResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_configuration_descriptor<'life0, 'async_trait>(
&'life0 self,
request: Request<GetConfigurationDescriptorRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetConfigurationDescriptorResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_query_services_descriptor<'life0, 'async_trait>(
&'life0 self,
request: Request<GetQueryServicesDescriptorRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetQueryServicesDescriptorResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_tx_descriptor<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTxDescriptorRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTxDescriptorResponse>, 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.