pub struct TokioExecutor;
Expand description
A Tokio executor.
Trait Implementations§
Source§impl Task<TokioTaskError, TokioExecutor> for TokioTask
impl Task<TokioTaskError, TokioExecutor> for TokioTask
Source§async fn delete(&self, _exec: &TokioExecutor) -> Result<(), TokioTaskError>
async fn delete(&self, _exec: &TokioExecutor) -> Result<(), TokioTaskError>
Deletes the task.
Source§async fn start(
&self,
_exec: &TokioExecutor,
) -> Result<TaskStatus, TokioTaskError>
async fn start( &self, _exec: &TokioExecutor, ) -> Result<TaskStatus, TokioTaskError>
Starts the task.
Source§async fn status(
&self,
_exec: &TokioExecutor,
) -> Result<TaskStatus, TokioTaskError>
async fn status( &self, _exec: &TokioExecutor, ) -> Result<TaskStatus, TokioTaskError>
Returns the status of the task.
Auto Trait Implementations§
impl Freeze for TokioExecutor
impl RefUnwindSafe for TokioExecutor
impl Send for TokioExecutor
impl Sync for TokioExecutor
impl Unpin for TokioExecutor
impl UnwindSafe for TokioExecutor
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