Searched refs:MapOk (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/futures-util/src/future/try_future/ |
D | mod.rs | 64 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/ |
D | map.rs | 68 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()
|
D | mod.rs | 11 pub use self::map::{map_into, map_ok, MapInto, MapOk};
|
/external/rust/crates/futures-util/src/stream/try_stream/ |
D | mod.rs | 52 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/ |
D | auto_traits.rs | 408 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/ |
D | mod.rs | 43 …AndThen, ErrInto, OkInto, InspectErr, InspectOk, IntoFuture, MapErr, MapOk, OrElse, TryFlattenStre…
|
/external/rust/crates/futures-util/src/stream/ |
D | mod.rs | 51 try_unfold, AndThen, ErrInto, InspectErr, InspectOk, IntoStream, MapErr, MapOk, OrElse,
|
/external/rust/crates/itertools/src/ |
D | lib.rs | 100 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()
|