Home
last modified time | relevance | path

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

/external/rust/crates/futures-util/src/future/future/
Dmod.rs10 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/
Dstatusor_test.cc184 struct OkFn { struct
189 TC3_ASSIGN_OR_RETURN(int i, OkFn()(), -1); in TEST()
/external/rust/crates/futures-util/src/
Dfns.rs74 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");