pub struct TtsGooglePlugin { /* private fields */ }Trait Implementations§
Source§impl<'de> Deserialize<'de> for TtsGooglePlugin
impl<'de> Deserialize<'de> for TtsGooglePlugin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Freeze for TtsGooglePlugin
impl RefUnwindSafe for TtsGooglePlugin
impl Send for TtsGooglePlugin
impl Sync for TtsGooglePlugin
impl Unpin for TtsGooglePlugin
impl UnsafeUnpin for TtsGooglePlugin
impl UnwindSafe 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request