pub struct TtsGooglePlugin { /* private fields */ }Trait Implementations§
Source§impl Plugin for TtsGooglePlugin
impl Plugin for TtsGooglePlugin
fn register<R: PluginRegistry + ?Sized>(self: Arc<Self>, registry: &mut R)where
Self: Sized,
Source§fn create<'life0, 'life1, 'async_trait>(
context: &'life0 PluginInitContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<Self, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create<'life0, 'life1, 'async_trait>(
context: &'life0 PluginInitContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<Self, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
This is the method for instantiating plugins, allowing them to await
their database connections (via
context.store::<S>().await) before returning. Read moreSource§const CAPABILITY: Option<&'static str> = None
const CAPABILITY: Option<&'static str> = None
Compile-time semantic description of this plugin’s capability for the LLM.
Source§impl TTSPlugin for TtsGooglePlugin
impl TTSPlugin for TtsGooglePlugin
Auto Trait Implementations§
impl !RefUnwindSafe for TtsGooglePlugin
impl !UnwindSafe for TtsGooglePlugin
impl Freeze for TtsGooglePlugin
impl Send for TtsGooglePlugin
impl Sync for TtsGooglePlugin
impl Unpin for TtsGooglePlugin
impl UnsafeUnpin for TtsGooglePlugin
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