pub struct PollFnDriver<F, A> { /* private fields */ }Expand description
See drive_poll_fn
Trait Implementations§
Source§impl<'a, A, F> Driver<'a> for PollFnDriver<F, A>
impl<'a, A, F> Driver<'a> for PollFnDriver<F, A>
Source§fn poll(
self: Pin<&mut Self>,
args: &mut Unstructured<'a>,
) -> Result<Poll<ControlFlow<()>>>
fn poll( self: Pin<&mut Self>, args: &mut Unstructured<'a>, ) -> Result<Poll<ControlFlow<()>>>
Drive the leaf future to make progress. Read more
impl<'__pin, F, A> Unpin for PollFnDriver<F, A>where
PinnedFieldsOf<__Origin<'__pin, F, A>>: Unpin,
Auto Trait Implementations§
impl<F, A> Freeze for PollFnDriver<F, A>where
F: Freeze,
impl<F, A> RefUnwindSafe for PollFnDriver<F, A>where
F: RefUnwindSafe,
A: RefUnwindSafe,
impl<F, A> Send for PollFnDriver<F, A>
impl<F, A> Sync for PollFnDriver<F, A>
impl<F, A> UnsafeUnpin for PollFnDriver<F, A>where
F: UnsafeUnpin,
impl<F, A> UnwindSafe for PollFnDriver<F, A>where
F: UnwindSafe,
A: UnwindSafe,
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