Struct elasticsearch::snapshot::Snapshot[][src]

pub struct Snapshot<'a> { /* fields omitted */ }

Namespace client for Snapshot APIs

Implementations

impl<'a> Snapshot<'a>[src]

pub fn new(transport: &'a Transport) -> Self[src]

Creates a new instance of Snapshot

pub fn transport(&self) -> &Transport[src]

pub fn cleanup_repository<'b>(
    &'a self,
    parts: SnapshotCleanupRepositoryParts<'b>
) -> SnapshotCleanupRepository<'a, 'b, ()>
[src]

Snapshot Cleanup Repository API

Removes stale data from repository.

pub fn clone<'b>(
    &'a self,
    parts: SnapshotCloneParts<'b>
) -> SnapshotClone<'a, 'b, ()>
[src]

Snapshot Clone API

Clones indices from one snapshot into another snapshot in the same repository.

pub fn create<'b>(
    &'a self,
    parts: SnapshotCreateParts<'b>
) -> SnapshotCreate<'a, 'b, ()>
[src]

Snapshot Create API

Creates a snapshot in a repository.

pub fn create_repository<'b>(
    &'a self,
    parts: SnapshotCreateRepositoryParts<'b>
) -> SnapshotCreateRepository<'a, 'b, ()>
[src]

Snapshot Create Repository API

Creates a repository.

pub fn delete<'b>(
    &'a self,
    parts: SnapshotDeleteParts<'b>
) -> SnapshotDelete<'a, 'b>
[src]

Snapshot Delete API

Deletes a snapshot.

pub fn delete_repository<'b>(
    &'a self,
    parts: SnapshotDeleteRepositoryParts<'b>
) -> SnapshotDeleteRepository<'a, 'b>
[src]

Snapshot Delete Repository API

Deletes a repository.

pub fn get<'b>(&'a self, parts: SnapshotGetParts<'b>) -> SnapshotGet<'a, 'b>[src]

Snapshot Get API

Returns information about a snapshot.

pub fn get_repository<'b>(
    &'a self,
    parts: SnapshotGetRepositoryParts<'b>
) -> SnapshotGetRepository<'a, 'b>
[src]

Snapshot Get Repository API

Returns information about a repository.

pub fn restore<'b>(
    &'a self,
    parts: SnapshotRestoreParts<'b>
) -> SnapshotRestore<'a, 'b, ()>
[src]

Snapshot Restore API

Restores a snapshot.

pub fn status<'b>(
    &'a self,
    parts: SnapshotStatusParts<'b>
) -> SnapshotStatus<'a, 'b>
[src]

Snapshot Status API

Returns information about the status of a snapshot.

pub fn verify_repository<'b>(
    &'a self,
    parts: SnapshotVerifyRepositoryParts<'b>
) -> SnapshotVerifyRepository<'a, 'b, ()>
[src]

Snapshot Verify Repository API

Verifies a repository.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Snapshot<'a>

impl<'a> Send for Snapshot<'a>

impl<'a> Sync for Snapshot<'a>

impl<'a> Unpin for Snapshot<'a>

impl<'a> !UnwindSafe for Snapshot<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.