pub trait ProofService:
    Send
    + Sync
    + 'static {
    // Required method
    fn get_object_inclusion_proof<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetObjectInclusionProofRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetObjectInclusionProofResponse>, 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 ProofServiceServer.

Required Methods§

Source

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

Returns an inclusion proof if a specified object id was written in a specified checkpoint.

Implementors§