Trait sp1_server::proto::api::ProverServiceClient

source ·
pub trait ProverServiceClient:
    Send
    + Sync
    + Debug {
    // Required methods
    fn prove_core<'life0, 'async_trait>(
        &'life0 self,
        req: ProveCoreRequest,
    ) -> Pin<Box<dyn Future<Output = Result<ProveCoreResponse, ClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn compress<'life0, 'async_trait>(
        &'life0 self,
        req: CompressRequest,
    ) -> Pin<Box<dyn Future<Output = Result<CompressResponse, ClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn prove_core<'life0, 'async_trait>( &'life0 self, req: ProveCoreRequest, ) -> Pin<Box<dyn Future<Output = Result<ProveCoreResponse, ClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn compress<'life0, 'async_trait>( &'life0 self, req: CompressRequest, ) -> Pin<Box<dyn Future<Output = Result<CompressResponse, ClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl ProverServiceClient for Client

source§

fn prove_core<'life0, 'async_trait>( &'life0 self, req: ProveCoreRequest, ) -> Pin<Box<dyn Future<Output = Result<ProveCoreResponse, ClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn compress<'life0, 'async_trait>( &'life0 self, req: CompressRequest, ) -> Pin<Box<dyn Future<Output = Result<CompressResponse, ClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§