Home
last modified time | relevance | path

Searched refs:TryFlatten (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/futures-util/src/future/try_future/
Dmod.rs32 TryFlatten<Fut1, Fut2>(
33 try_flatten::TryFlatten<Fut1, Fut2>
34 ): Debug + Future + FusedFuture + New[|x: Fut1| try_flatten::TryFlatten::new(x)]
47 try_flatten::TryFlatten<Fut, Fut::Ok>
48 ): Debug + Sink + Stream + FusedStream + New[|x: Fut| try_flatten::TryFlatten::new(x)]
57 try_flatten::TryFlatten<Fut, Si>
58 ): Debug + Sink + Stream + FusedStream + New[|x: Fut| try_flatten::TryFlatten::new(x)]
64 TryFlatten<MapOk<Fut1, F>, Fut2>
65 ): Debug + Future + FusedFuture + New[|x: Fut1, f: F| TryFlatten::new(MapOk::new(x, f))]
499 fn try_flatten(self) -> TryFlatten<Self, Self::Ok> in try_flatten()
[all …]
Dtry_flatten.rs13 pub enum TryFlatten<Fut1, Fut2> {
20 impl<Fut1, Fut2> TryFlatten<Fut1, Fut2> { impl
26 impl<Fut> FusedFuture for TryFlatten<Fut, Fut::Ok> implementation
38 impl<Fut> Future for TryFlatten<Fut, Fut::Ok> implementation
67 impl<Fut> FusedStream for TryFlatten<Fut, Fut::Ok> implementation
79 impl<Fut> Stream for TryFlatten<Fut, Fut::Ok> implementation
112 impl<Fut, Item> Sink<Item> for TryFlatten<Fut, Fut::Ok> implementation
/external/rust/crates/futures-util/src/stream/try_stream/
Dtry_flatten.rs13 pub struct TryFlatten<St>
24 impl<St> TryFlatten<St> implementation
37 impl<St> FusedStream for TryFlatten<St> implementation
48 impl<St> Stream for TryFlatten<St> implementation
77 impl<S, Item> Sink<Item> for TryFlatten<S> implementation
Dmod.rs86 pub use self::try_flatten::TryFlatten;
692 fn try_flatten(self) -> TryFlatten<Self> in try_flatten()
699 TryFlatten::new(self), in try_flatten()
/external/rust/crates/futures/tests/
Dauto_traits.rs536 assert_impl!(TryFlatten<SendTryFuture<()>, ()>: Send);
537 assert_not_impl!(TryFlatten<LocalTryFuture, ()>: Send);
538 assert_not_impl!(TryFlatten<SendTryFuture, *const ()>: Send);
539 assert_impl!(TryFlatten<SyncTryFuture<()>, ()>: Sync);
540 assert_not_impl!(TryFlatten<LocalTryFuture, ()>: Sync);
541 assert_not_impl!(TryFlatten<SyncTryFuture, *const ()>: Sync);
542 assert_impl!(TryFlatten<UnpinTryFuture<()>, ()>: Unpin);
543 assert_not_impl!(TryFlatten<PinnedTryFuture, ()>: Unpin);
544 assert_not_impl!(TryFlatten<UnpinTryFuture, PhantomPinned>: Unpin);
1654 assert_impl!(TryFlatten<SendTryStream<()>>: Send);
[all …]
/external/rust/crates/futures-util/src/future/
Dmod.rs44 TryFutureExt, UnwrapOrElse, MapOkOrElse, TryFlatten,
/external/rust/crates/futures-util/src/stream/
Dmod.rs52 TryCollect, TryConcat, TryFilter, TryFilterMap, TryFlatten, TryFold, TryForEach, TryNext,