pub trait DataExchange: Send + Sync + 'static {
    // Required methods
    fn calculate_signature<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ObjectDescription>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ObjectSignature>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn apply_delta<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ObjectDelta>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ApplyDeltaResult>, 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 DataExchangeServer.

Required Methods§

source

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

source

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

Implementors§