risingwave_pb::backup_service::backup_service_server

Trait BackupService

source
pub trait BackupService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn backup_meta<'life0, 'async_trait>(
        &'life0 self,
        request: Request<BackupMetaRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<BackupMetaResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_backup_job_status<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetBackupJobStatusRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetBackupJobStatusResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_meta_snapshot<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteMetaSnapshotRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteMetaSnapshotResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_meta_snapshot_manifest<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetMetaSnapshotManifestRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetMetaSnapshotManifestResponse>, 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 BackupServiceServer.

Required Methods§

source

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

source

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

source

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

source

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

Implementors§