[−][src]Struct futures::future::Join
Future for the join
function.
Trait Implementations
impl<Fut1, Fut2> Future for Join<Fut1, Fut2> where
Fut1: Future,
Fut2: Future,
[src]
Fut1: Future,
Fut2: Future,
type Output = (<Fut1 as Future>::Output, <Fut2 as Future>::Output)
The type of value produced on completion.
fn poll(
self: Pin<&mut Join<Fut1, Fut2>>,
cx: &mut Context
) -> Poll<<Join<Fut1, Fut2> as Future>::Output>
[src]
self: Pin<&mut Join<Fut1, Fut2>>,
cx: &mut Context
) -> Poll<<Join<Fut1, Fut2> as Future>::Output>
impl<Fut1, Fut2> Debug for Join<Fut1, Fut2> where
Fut1: Future + Debug,
Fut2: Future + Debug,
<Fut1 as Future>::Output: Debug,
<Fut2 as Future>::Output: Debug,
[src]
Fut1: Future + Debug,
Fut2: Future + Debug,
<Fut1 as Future>::Output: Debug,
<Fut2 as Future>::Output: Debug,
impl<Fut1, Fut2> FusedFuture for Join<Fut1, Fut2> where
Fut1: FusedFuture,
Fut2: FusedFuture,
[src]
Fut1: FusedFuture,
Fut2: FusedFuture,
fn is_terminated(&self) -> bool
[src]
Auto Trait Implementations
impl<Fut1, Fut2> Send for Join<Fut1, Fut2> where
Fut1: Send,
Fut2: Send,
<Fut1 as Future>::Output: Send,
<Fut2 as Future>::Output: Send,
Fut1: Send,
Fut2: Send,
<Fut1 as Future>::Output: Send,
<Fut2 as Future>::Output: Send,
impl<Fut1, Fut2> Unpin for Join<Fut1, Fut2> where
Fut1: Unpin,
Fut2: Unpin,
Fut1: Unpin,
Fut2: Unpin,
impl<Fut1, Fut2> Sync for Join<Fut1, Fut2> where
Fut1: Sync,
Fut2: Sync,
<Fut1 as Future>::Output: Sync,
<Fut2 as Future>::Output: Sync,
Fut1: Sync,
Fut2: Sync,
<Fut1 as Future>::Output: Sync,
<Fut2 as Future>::Output: Sync,
impl<Fut1, Fut2> UnwindSafe for Join<Fut1, Fut2> where
Fut1: UnwindSafe,
Fut2: UnwindSafe,
<Fut1 as Future>::Output: UnwindSafe,
<Fut2 as Future>::Output: UnwindSafe,
Fut1: UnwindSafe,
Fut2: UnwindSafe,
<Fut1 as Future>::Output: UnwindSafe,
<Fut2 as Future>::Output: UnwindSafe,
impl<Fut1, Fut2> RefUnwindSafe for Join<Fut1, Fut2> where
Fut1: RefUnwindSafe,
Fut2: RefUnwindSafe,
<Fut1 as Future>::Output: RefUnwindSafe,
<Fut2 as Future>::Output: RefUnwindSafe,
Fut1: RefUnwindSafe,
Fut2: RefUnwindSafe,
<Fut1 as Future>::Output: RefUnwindSafe,
<Fut2 as Future>::Output: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ffn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut F
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> FutureExt for T where
T: Future + ?Sized,
[src]
T: Future + ?Sized,
ⓘImportant traits for Map<Fut, F>fn map<U, F>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Output) -> U,
[src]
ⓘImportant traits for Map<Fut, F>
F: FnOnce(Self::Output) -> U,
ⓘImportant traits for Then<Fut1, Fut2, F>fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F> where
F: FnOnce(Self::Output) -> Fut,
Fut: Future,
[src]
ⓘImportant traits for Then<Fut1, Fut2, F>
F: FnOnce(Self::Output) -> Fut,
Fut: Future,
ⓘImportant traits for Either<A, B>fn left_future<B>(self) -> Either<Self, B> where
B: Future<Output = Self::Output>,
[src]
ⓘImportant traits for Either<A, B>
B: Future<Output = Self::Output>,
ⓘImportant traits for Either<A, B>fn right_future<A>(self) -> Either<A, Self> where
A: Future<Output = Self::Output>,
[src]
ⓘImportant traits for Either<A, B>
A: Future<Output = Self::Output>,
fn into_stream(self) -> IntoStream<Self>
[src]
ⓘImportant traits for Flatten<Fut>fn flatten(self) -> Flatten<Self> where
Self::Output: Future,
[src]
ⓘImportant traits for Flatten<Fut>
Self::Output: Future,
fn flatten_stream(self) -> FlattenStream<Self> where
Self::Output: Stream,
[src]
Self::Output: Stream,
ⓘImportant traits for Fuse<Fut>fn fuse(self) -> Fuse<Self>
[src]
ⓘImportant traits for Fuse<Fut>
ⓘImportant traits for Inspect<Fut, F>fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnOnce(&Self::Output),
[src]
ⓘImportant traits for Inspect<Fut, F>
F: FnOnce(&Self::Output),
ⓘImportant traits for CatchUnwind<Fut>fn catch_unwind(self) -> CatchUnwind<Self> where
Self: UnwindSafe,
[src]
ⓘImportant traits for CatchUnwind<Fut>
Self: UnwindSafe,
ⓘImportant traits for Shared<Fut>fn shared(self) -> Shared<Self> where
Self::Output: Clone,
[src]
ⓘImportant traits for Shared<Fut>
Self::Output: Clone,
fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)
[src]
ⓘImportant traits for Pin<P>fn boxed<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send>> where
Self: Send + 'a,
[src]
ⓘImportant traits for Pin<P>
Self: Send + 'a,
ⓘImportant traits for Pin<P>fn boxed_local<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a>> where
Self: 'a,
[src]
ⓘImportant traits for Pin<P>
Self: 'a,
ⓘImportant traits for UnitError<Fut>fn unit_error(self) -> UnitError<Self>
[src]
ⓘImportant traits for UnitError<Fut>
ⓘImportant traits for NeverError<Fut>fn never_error(self) -> NeverError<Self>
[src]
ⓘImportant traits for NeverError<Fut>
fn poll_unpin(&mut self, cx: &mut Context) -> Poll<Self::Output> where
Self: Unpin,
[src]
Self: Unpin,