pub struct TestAsyncExecutorTaskWaiter<T: Send> { /* private fields */ }Expand description
Waiter to be returned for top level Futures via
TestAsyncExecutor::spawn().
A TestAsyncExecutorTaskWaiter provides a means to obtain the
Output of the associated enqueued Future
when Ready.
Note that a TestAsyncExecutorTaskWaiter implements Future itself, so
it can get enqueued to the TestAsyncExecutor or polled from another
owning Future.
Implementations§
Trait Implementations§
Source§impl<T: Send> Drop for TestAsyncExecutorTaskWaiter<T>
impl<T: Send> Drop for TestAsyncExecutorTaskWaiter<T>
Source§impl<T: Send> Future for TestAsyncExecutorTaskWaiter<T>
impl<T: Send> Future for TestAsyncExecutorTaskWaiter<T>
impl<T: Send> Unpin for TestAsyncExecutorTaskWaiter<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for TestAsyncExecutorTaskWaiter<T>
impl<T> !UnwindSafe for TestAsyncExecutorTaskWaiter<T>
impl<T> Freeze for TestAsyncExecutorTaskWaiter<T>
impl<T> Send for TestAsyncExecutorTaskWaiter<T>
impl<T> Sync for TestAsyncExecutorTaskWaiter<T>
impl<T> UnsafeUnpin for TestAsyncExecutorTaskWaiter<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> 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