[−][src]Trait futures::prelude::FutureExt
An extension trait for Future
s that provides a variety of convenient
adapters.
Provided methods
ⓘImportant traits for Map<Fut, F>default fn map<U, F>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Output) -> U,
[+]
ⓘImportant traits for Map<Fut, F>
F: FnOnce(Self::Output) -> U,
ⓘImportant traits for Then<Fut1, Fut2, F>default fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F> where
F: FnOnce(Self::Output) -> Fut,
Fut: Future,
[+]
ⓘImportant traits for Then<Fut1, Fut2, F>
F: FnOnce(Self::Output) -> Fut,
Fut: Future,
default fn into_stream(self) -> IntoStream<Self>
[+]
ⓘImportant traits for Flatten<Fut>default fn flatten(self) -> Flatten<Self> where
Self::Output: Future,
[+]
ⓘImportant traits for Flatten<Fut>
Self::Output: Future,
default fn flatten_stream(self) -> FlattenStream<Self> where
Self::Output: Stream,
[+]
Self::Output: Stream,
ⓘImportant traits for Fuse<Fut>default fn fuse(self) -> Fuse<Self>
[+]
ⓘImportant traits for Fuse<Fut>
ⓘImportant traits for Inspect<Fut, F>default fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnOnce(&Self::Output),
[+]
ⓘImportant traits for Inspect<Fut, F>
F: FnOnce(&Self::Output),
ⓘImportant traits for CatchUnwind<Fut>default fn catch_unwind(self) -> CatchUnwind<Self> where
Self: UnwindSafe,
[+]
ⓘImportant traits for CatchUnwind<Fut>
Self: UnwindSafe,
ⓘImportant traits for Shared<Fut>default fn shared(self) -> Shared<Self> where
Self::Output: Clone,
[+]
ⓘImportant traits for Shared<Fut>
Self::Output: Clone,
default fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)
[+]
ⓘImportant traits for Pin<P>default fn boxed(self) -> Pin<Box<Self>>
[+]
ⓘImportant traits for Pin<P>
ⓘImportant traits for UnitError<Fut>default fn unit_error(self) -> UnitError<Self>
[+]
ⓘImportant traits for UnitError<Fut>
default fn poll_unpin(&mut self, cx: &mut Context) -> Poll<Self::Output> where
Self: Unpin,
[+]
Self: Unpin,
Implementors
impl<T> FutureExt for T where
T: Future + ?Sized,
[src][−]
T: Future + ?Sized,
ⓘImportant traits for Map<Fut, F>default 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>default 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,
default fn into_stream(self) -> IntoStream<Self>
[src]
ⓘImportant traits for Flatten<Fut>default fn flatten(self) -> Flatten<Self> where
Self::Output: Future,
[src]
ⓘImportant traits for Flatten<Fut>
Self::Output: Future,
default fn flatten_stream(self) -> FlattenStream<Self> where
Self::Output: Stream,
[src]
Self::Output: Stream,
ⓘImportant traits for Fuse<Fut>default fn fuse(self) -> Fuse<Self>
[src]
ⓘImportant traits for Fuse<Fut>
ⓘImportant traits for Inspect<Fut, F>default 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>default fn catch_unwind(self) -> CatchUnwind<Self> where
Self: UnwindSafe,
[src]
ⓘImportant traits for CatchUnwind<Fut>
Self: UnwindSafe,
ⓘImportant traits for Shared<Fut>default fn shared(self) -> Shared<Self> where
Self::Output: Clone,
[src]
ⓘImportant traits for Shared<Fut>
Self::Output: Clone,
default fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)
[src]
ⓘImportant traits for Pin<P>default fn boxed(self) -> Pin<Box<Self>>
[src]
ⓘImportant traits for Pin<P>
ⓘImportant traits for UnitError<Fut>default fn unit_error(self) -> UnitError<Self>
[src]
ⓘImportant traits for UnitError<Fut>
default fn poll_unpin(&mut self, cx: &mut Context) -> Poll<Self::Output> where
Self: Unpin,
[src]
Self: Unpin,