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§
Source§impl<'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.
Auto Trait Implementations§
impl<'a> Freeze for Tasks<'a>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more