[][src]Struct elasticsearch::async_search::AsyncSearch

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

Namespace client for AsyncSearch APIs

Implementations

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

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

Creates a new instance of AsyncSearch

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

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

Async Search Delete API

Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.

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

Async Search Get API

Retrieves the results of a previously submitted async search request given its ID.

pub fn submit<'b>(
    &'a self,
    parts: AsyncSearchSubmitParts<'b>
) -> AsyncSearchSubmit<'a, 'b, ()>
[src]

Async Search Submit API

Executes a search request asynchronously.

Auto Trait Implementations

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

impl<'a> Send for AsyncSearch<'a>

impl<'a> Sync for AsyncSearch<'a>

impl<'a> Unpin for AsyncSearch<'a>

impl<'a> !UnwindSafe for AsyncSearch<'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, 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.