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