pub struct DiversionFuture<FU, T, S> { /* private fields */ }Expand description
DiversionFuture is a future wrapper that partially store and partially return the future result.
Implementations§
Source§impl<FU, T, S> DiversionFuture<FU, T, S>
impl<FU, T, S> DiversionFuture<FU, T, S>
Trait Implementations§
Source§impl<FU, T, S> Deref for DiversionFuture<FU, T, S>
impl<FU, T, S> Deref for DiversionFuture<FU, T, S>
Source§impl<FU, T, S, I> Future for DiversionFuture<FU, T, S>
impl<FU, T, S, I> Future for DiversionFuture<FU, T, S>
impl<'pin, FU, T, S> Unpin for DiversionFuture<FU, T, S>where
PinnedFieldsOf<__DiversionFuture<'pin, FU, T, S>>: Unpin,
Auto Trait Implementations§
impl<FU, T, S> Freeze for DiversionFuture<FU, T, S>
impl<FU, T, S> RefUnwindSafe for DiversionFuture<FU, T, S>
impl<FU, T, S> Send for DiversionFuture<FU, T, S>
impl<FU, T, S> Sync for DiversionFuture<FU, T, S>
impl<FU, T, S> UnwindSafe for DiversionFuture<FU, T, S>
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