pub struct NoOpCompletionProvider;Expand description
Default completion provider that returns no suggestions
Trait Implementations§
Source§impl CompletionProvider for NoOpCompletionProvider
impl CompletionProvider for NoOpCompletionProvider
Source§fn complete_prompt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
prompt_name: &'life1 str,
argument_name: &'life2 str,
argument_value: &'life3 str,
) -> Pin<Box<dyn Future<Output = Vec<CompletionValue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn complete_prompt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
prompt_name: &'life1 str,
argument_name: &'life2 str,
argument_value: &'life3 str,
) -> Pin<Box<dyn Future<Output = Vec<CompletionValue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Provide completions for a prompt argument Read more
Source§fn complete_resource<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
uri: &'life1 str,
argument_name: &'life2 str,
argument_value: &'life3 str,
) -> Pin<Box<dyn Future<Output = Vec<CompletionValue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn complete_resource<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
uri: &'life1 str,
argument_name: &'life2 str,
argument_value: &'life3 str,
) -> Pin<Box<dyn Future<Output = Vec<CompletionValue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Provide completions for a resource URI argument Read more
Source§fn max_completions(&self) -> usize
fn max_completions(&self) -> usize
Maximum completions to return (default: 100)
Auto Trait Implementations§
impl Freeze for NoOpCompletionProvider
impl RefUnwindSafe for NoOpCompletionProvider
impl Send for NoOpCompletionProvider
impl Sync for NoOpCompletionProvider
impl Unpin for NoOpCompletionProvider
impl UnwindSafe for NoOpCompletionProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more