Home
last modified time | relevance | path

Searched refs:FnOnce1 (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/futures-util/src/
Dfns.rs4 pub trait FnOnce1<A> { interface
9 impl<T, A, R> FnOnce1<A> for T
19 pub trait FnMut1<A>: FnOnce1<A> {
58 impl<$($arg,)* A> FnMut1<A> for $t where Self: FnOnce1<A> {
63 impl<$($arg,)* A> Fn1<A> for $t where Self: FnOnce1<A> {
82 impl<A, E> FnOnce1<A> for OkFn<E> {
94 impl<F, G, A> FnOnce1<A> for ChainFn<F, G>
96 F: FnOnce1<A>,
97 G: FnOnce1<F::Output>,
129 impl<T> FnOnce1<Result<T, T>> for MergeResultFn { impl
[all …]
/external/rust/crates/futures-util/src/future/future/
Dmap.rs7 use crate::fns::FnOnce1;
35 F: FnOnce1<Fut::Output, Output = T>,
48 F: FnOnce1<Fut::Output, Output = T>,
/external/rust/crates/futures-util/src/stream/stream/
Dpeek.rs1 use crate::fns::FnOnce1;
335 F: for<'a> FnOnce1<&'a St::Item, Output = bool>,
346 F: for<'a> FnOnce1<&'a St::Item, Output = bool>,
423 impl<T, Item> FnOnce1<&Item> for NextIfEqFn<'_, T, Item>