Trait initiative_core::app::command::runnable::Autocomplete
source · pub trait Autocomplete {
// Required method
fn autocomplete<'life0, 'life1, 'async_trait>(
input: &'life0 str,
app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = Vec<AutocompleteSuggestion>> + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait;
}
Required Methods§
fn autocomplete<'life0, 'life1, 'async_trait>(
input: &'life0 str,
app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = Vec<AutocompleteSuggestion>> + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Object Safety§
This trait is not object safe.