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§