qdrant_client::qdrant::snapshots_server

Trait Snapshots

source
pub trait Snapshots:
    Send
    + Sync
    + 'static {
    // Required methods
    fn create<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CreateSnapshotRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<CreateSnapshotResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListSnapshotsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListSnapshotsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteSnapshotRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteSnapshotResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_full<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CreateFullSnapshotRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<CreateSnapshotResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_full<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListFullSnapshotsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListSnapshotsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_full<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteFullSnapshotRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteSnapshotResponse>, 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 SnapshotsServer.

Required Methods§

source

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

Create collection snapshot

source

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

List collection snapshots

source

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

Delete collection snapshot

source

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

Create full storage snapshot

source

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

List full storage snapshots

source

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

Delete full storage snapshot

Implementors§