pub struct Fork<'s, C: ?Sized + Config, F> { /* private fields */ }Expand description
A builder-type structure that allows assembling arbitrary many futures into a concurrently executed choice or collection.
Implementations§
Trait Implementations§
Source§impl<C: ?Sized + Config, F: IntoFuture> IntoFuture for Fork<'_, C, F>
impl<C: ?Sized + Config, F: IntoFuture> IntoFuture for Fork<'_, C, F>
Source§type Output = <F as IntoFuture>::Output
type Output = <F as IntoFuture>::Output
The output that the future will produce on completion.
Source§type IntoFuture = <F as IntoFuture>::IntoFuture
type IntoFuture = <F as IntoFuture>::IntoFuture
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'s, C, F> Freeze for Fork<'s, C, F>
impl<'s, C, F> !RefUnwindSafe for Fork<'s, C, F>
impl<'s, C, F> !Send for Fork<'s, C, F>
impl<'s, C, F> !Sync for Fork<'s, C, F>
impl<'s, C, F> Unpin for Fork<'s, C, F>
impl<'s, C, F> !UnwindSafe for Fork<'s, C, 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