Trait location_manager::net::data_request_server::location_mgr::data_exchange_server::DataExchange
source · 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.