Struct elasticsearch::tasks::Tasks[][src]

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

Namespace client for Tasks APIs  

Optional, experimental

This requires the experimental-apis feature. Can have breaking changes in future versions or might even be removed entirely.

Implementations

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

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

Creates a new instance of Tasks

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

pub fn cancel<'b>(
    &'a self,
    parts: TasksCancelParts<'b>
) -> TasksCancel<'a, 'b, ()>
[src]

Tasks Cancel API

Cancels a task, if it can be cancelled through an API.  

Optional, experimental

This requires the experimental-apis feature. Can have breaking changes in future versions or might even be removed entirely.

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

Tasks Get API

Returns information about a task.  

Optional, experimental

This requires the experimental-apis feature. Can have breaking changes in future versions or might even be removed entirely.

pub fn list<'b>(&'a self) -> TasksList<'a, 'b>[src]

Tasks List API

Returns a list of tasks.  

Optional, experimental

This requires the experimental-apis feature. Can have breaking changes in future versions or might even be removed entirely.

Auto Trait Implementations

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

impl<'a> Send for Tasks<'a>

impl<'a> Sync for Tasks<'a>

impl<'a> Unpin for Tasks<'a>

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