pub trait SyncNotifier: Send + Sync + 'static {
    // Required method
    fn register_periodic_sync<'life0, 'async_trait>(
        &'life0 self,
        request: Request<RegisterPeriodicSyncRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<RegisterPeriodicSyncResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

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

Required Methods§

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

Implementors§