Searched refs:OkFn (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/futures-util/src/future/future/ |
D | mod.rs | 10 use crate::fns::{inspect_fn, into_fn, ok_fn, InspectFn, IntoFn, OkFn}; 86 Map<Fut, OkFn<Never>> 93 Map<Fut, OkFn<()>>
|
/external/libtextclassifier/native/utils/base/ |
D | statusor_test.cc | 184 struct OkFn { struct 189 TC3_ASSIGN_OR_RETURN(int i, OkFn()(), -1); in TEST()
|
/external/rust/crates/futures-util/src/ |
D | fns.rs | 74 pub struct OkFn<E>(PhantomData<fn(E)>); struct 76 impl<E> Default for OkFn<E> { implementation 82 impl<A, E> FnOnce1<A> for OkFn<E> { implementation 89 trivial_fn_impls!(ok_fn <T> OkFn<T> = "Ok");
|