Searched refs:MapOkFn (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/futures-util/src/ |
D | fns.rs | 179 pub struct MapOkFn<F>(F); struct 181 impl<F, T, E> FnOnce1<Result<T, E>> for MapOkFn<F> implementation 190 impl<F, T, E> FnMut1<Result<T, E>> for MapOkFn<F> implementation 198 impl<F, T, E> Fn1<Result<T, E>> for MapOkFn<F> implementation 206 pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { in map_ok_fn() 207 MapOkFn(f) in map_ok_fn() 306 pub(crate) type MapOkOrElseFn<F, G> = ChainFn<MapOkFn<F>, ChainFn<MapErrFn<G>, MergeResultFn>>;
|
/external/rust/crates/futures-util/src/future/try_future/ |
D | mod.rs | 19 unwrap_or_else_fn, InspectErrFn, InspectOkFn, IntoFn, MapErrFn, MapOkFn, MapOkOrElseFn, 109 Map<IntoFuture<Fut>, MapOkFn<F>>
|
/external/rust/crates/futures-util/src/stream/try_stream/ |
D | mod.rs | 15 …ect_ok_fn, InspectErrFn, inspect_err_fn, MapErrFn, map_err_fn, IntoFn, into_fn, MapOkFn, map_ok_fn, 53 Map<IntoStream<St>, MapOkFn<F>>
|