Struct elasticsearch::tasks::Tasks
source · pub struct Tasks<'a> { /* private fields */ }
Expand description
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
sourceimpl<'a> Tasks<'a>
impl<'a> Tasks<'a>
pub fn transport(&self) -> &Transport
sourcepub fn cancel<'b>(
&'a self,
parts: TasksCancelParts<'b>
) -> TasksCancel<'a, 'b, ()>
pub fn cancel<'b>(
&'a self,
parts: TasksCancelParts<'b>
) -> TasksCancel<'a, 'b, ()>
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.
sourcepub fn get<'b>(&'a self, parts: TasksGetParts<'b>) -> TasksGet<'a, 'b>
pub fn get<'b>(&'a self, parts: TasksGetParts<'b>) -> TasksGet<'a, 'b>
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.
sourcepub fn list<'b>(&'a self) -> TasksList<'a, 'b>
pub fn list<'b>(&'a self) -> TasksList<'a, 'b>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more