Home
last modified time | relevance | path

Searched refs:MapOk (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/futures-util/src/future/try_future/
Dmod.rs64 TryFlatten<MapOk<Fut1, F>, Fut2>
65 ): Debug + Future + FusedFuture + New[|x: Fut1, f: F| TryFlatten::new(MapOk::new(x, f))]
85 MapOk<Fut, IntoFn<E>>
86 ): Debug + Future + FusedFuture + New[|x: Fut| MapOk::new(x, into_fn())]
108 MapOk<Fut, F>(
217 fn map_ok<T, F>(self, f: F) -> MapOk<Self, F> in map_ok()
222 assert_future::<Result<T, Self::Error>, _>(MapOk::new(self, f)) in map_ok()
/external/rust/crates/itertools/src/adaptors/
Dmap.rs68 pub type MapOk<I, F> = MapSpecialCase<I, MapSpecialCaseFnOk<F>>; typedef
72 pub type MapResults<I, F> = MapOk<I, F>;
88 pub fn map_ok<I, F, T, U, E>(iter: I, f: F) -> MapOk<I, F> in map_ok()
Dmod.rs11 pub use self::map::{map_into, map_ok, MapInto, MapOk};
/external/rust/crates/futures-util/src/stream/try_stream/
Dmod.rs52 MapOk<St, F>(
187 fn map_ok<T, F>(self, f: F) -> MapOk<Self, F> in map_ok()
192 assert_stream::<Result<T, Self::Error>, _>(MapOk::new(self, f)) in map_ok()
/external/rust/crates/futures/tests/
Dauto_traits.rs408 assert_impl!(MapOk<SendFuture, ()>: Send);
409 assert_not_impl!(MapOk<SendFuture, *const ()>: Send);
410 assert_not_impl!(MapOk<LocalFuture, ()>: Send);
411 assert_impl!(MapOk<SyncFuture, ()>: Sync);
412 assert_not_impl!(MapOk<SyncFuture, *const ()>: Sync);
413 assert_not_impl!(MapOk<LocalFuture, ()>: Sync);
414 assert_impl!(MapOk<UnpinFuture, PhantomPinned>: Unpin);
415 assert_not_impl!(MapOk<PhantomPinned, ()>: Unpin);
1370 assert_impl!(MapOk<(), ()>: Send);
1371 assert_not_impl!(MapOk<*const (), ()>: Send);
[all …]
/external/rust/crates/futures-util/src/future/
Dmod.rs43 …AndThen, ErrInto, OkInto, InspectErr, InspectOk, IntoFuture, MapErr, MapOk, OrElse, TryFlattenStre…
/external/rust/crates/futures-util/src/stream/
Dmod.rs51 try_unfold, AndThen, ErrInto, InspectErr, InspectOk, IntoStream, MapErr, MapOk, OrElse,
/external/rust/crates/itertools/src/
Dlib.rs100 MapOk,
774 fn map_results<F, T, U, E>(self, f: F) -> MapOk<Self, F> in map_results()
792 fn map_ok<F, T, U, E>(self, f: F) -> MapOk<Self, F> in map_ok()