pub struct OnDropFuture<Ft: Future, F: FnOnce()> { /* private fields */ }Implementations§
Trait Implementations§
impl<'__pin, Ft: Future, F: FnOnce()> Unpin for OnDropFuture<Ft, F>where
PinnedFieldsOf<__Origin<'__pin, Ft, F>>: Unpin,
Auto Trait Implementations§
impl<Ft, F> !Freeze for OnDropFuture<Ft, F>
impl<Ft, F> !RefUnwindSafe for OnDropFuture<Ft, F>
impl<Ft, F> Send for OnDropFuture<Ft, F>
impl<Ft, F> !Sync for OnDropFuture<Ft, F>
impl<Ft, F> UnwindSafe for OnDropFuture<Ft, F>where
Ft: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more