pub struct LazyFutureUnpin<'a, T, F>(/* private fields */);
Expand description
A helper struct for Lazy’s IntoFuture
Trait Implementations§
Source§impl<'a, T, F> Future for LazyFutureUnpin<'a, T, F>
impl<'a, T, F> Future for LazyFutureUnpin<'a, T, F>
Auto Trait Implementations§
impl<'a, T, F> Freeze for LazyFutureUnpin<'a, T, F>
impl<'a, T, F> RefUnwindSafe for LazyFutureUnpin<'a, T, F>
impl<'a, T, F> Send for LazyFutureUnpin<'a, T, F>
impl<'a, T, F> Sync for LazyFutureUnpin<'a, T, F>
impl<'a, T, F> !Unpin for LazyFutureUnpin<'a, T, F>
impl<'a, T, F> UnwindSafe for LazyFutureUnpin<'a, T, F>
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