Searched refs:ChainFn (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/futures-util/src/ |
D | fns.rs | 92 pub struct ChainFn<F, G>(F, G); struct 94 impl<F, G, A> FnOnce1<A> for ChainFn<F, G> implementation 104 impl<F, G, A> FnMut1<A> for ChainFn<F, G> implementation 113 impl<F, G, A> Fn1<A> for ChainFn<F, G> implementation 122 pub(crate) fn chain_fn<F, G>(f: F, g: G) -> ChainFn<F, G> { in chain_fn() 123 ChainFn(f, g) in chain_fn() 306 pub(crate) type MapOkOrElseFn<F, G> = ChainFn<MapOkFn<F>, ChainFn<MapErrFn<G>, MergeResultFn>>;
|