pub struct AnyLocalExecutorTask<T> { /* private fields */ }Expand description
Task type returned by AnyLocalExecutor.
This task can be awaited like any other task and provides the same
cancellation and error handling capabilities as other task implementations.
It wraps tasks from any LocalExecutor implementation in a type-erased manner.
Implementations§
Trait Implementations§
Source§impl<T> Debug for AnyLocalExecutorTask<T>
impl<T> Debug for AnyLocalExecutorTask<T>
Source§impl<T> Future for AnyLocalExecutorTask<T>
impl<T> Future for AnyLocalExecutorTask<T>
Source§impl<T> Task<T> for AnyLocalExecutorTask<T>
impl<T> Task<T> for AnyLocalExecutorTask<T>
Auto Trait Implementations§
impl<T> Freeze for AnyLocalExecutorTask<T>
impl<T> !RefUnwindSafe for AnyLocalExecutorTask<T>
impl<T> !Send for AnyLocalExecutorTask<T>
impl<T> !Sync for AnyLocalExecutorTask<T>
impl<T> !Unpin for AnyLocalExecutorTask<T>
impl<T> !UnwindSafe for AnyLocalExecutorTask<T>
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
Source§impl<F> FutureExt for F
impl<F> FutureExt for F
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more