pub struct ComposeFutureFactory<In, F, G>where
F: FutureFactory<In>,
G: FutureFactory<<F::Fut as Future>::Output>,
In: 'static + Send,
<F::Fut as Future>::Output: 'static + Send,
<G::Fut as Future>::Output: 'static + Send,
F::Fut: 'static + Send + Future,
G::Fut: 'static + Send + Future,{ /* private fields */ }
Implementations§
Source§impl<In, F, G> ComposeFutureFactory<In, F, G>
impl<In, F, G> ComposeFutureFactory<In, F, G>
Trait Implementations§
Source§impl<In, F, G> Clone for ComposeFutureFactory<In, F, G>
impl<In, F, G> Clone for ComposeFutureFactory<In, F, G>
Source§impl<In, F, G> FutureFactory<In> for ComposeFutureFactory<In, F, G>
impl<In, F, G> FutureFactory<In> for ComposeFutureFactory<In, F, G>
type Fut = FutFacChain<<F as FutureFactory<In>>::Fut, G>
fn generate(&mut self, input: In) -> FutFacChain<F::Fut, G> ⓘ
fn boxed<'a>(self) -> BoxFutureFactory<'a, In, <Self::Fut as Future>::Output>
fn compose<G>(self, other: G) -> ComposeFutureFactory<In, Self, G>
Auto Trait Implementations§
impl<In, F, G> Freeze for ComposeFutureFactory<In, F, G>
impl<In, F, G> RefUnwindSafe for ComposeFutureFactory<In, F, G>
impl<In, F, G> Send for ComposeFutureFactory<In, F, G>
impl<In, F, G> Sync for ComposeFutureFactory<In, F, G>
impl<In, F, G> Unpin for ComposeFutureFactory<In, F, G>
impl<In, F, G> UnwindSafe for ComposeFutureFactory<In, F, G>
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