pub trait Query: 'static + Send + Sync {
    fn evidence<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryEvidenceRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryEvidenceResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn all_evidence<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryAllEvidenceRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllEvidenceResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods

Evidence queries evidence based on evidence hash.

AllEvidence queries all evidence.

Implementors