pub type TextCandidatesFn<'a> = dyn Fn(&TextSearchRequest) -> Pin<Box<dyn Future<Output = Result<Vec<EncodedTerm>, ComputeError>> + Send + 'a>> + Send + Sync + 'a;Expand description
Candidate-drain closure type (PluginEnv::text_candidates).
pub type TextCandidatesFn<'a> = dyn Fn(&TextSearchRequest) -> Pin<Box<dyn Future<Output = Result<Vec<EncodedTerm>, ComputeError>> + Send + 'a>> + Send + Sync + 'a;Candidate-drain closure type (PluginEnv::text_candidates).