pub struct NotConfiguredSpeech;Expand description
The standing placeholder when a venture wires no speech provider:
every call answers SpeechError::NotConfigured, the way
NoopDefer drops deferred work.
Trait Implementations§
Source§impl Clone for NotConfiguredSpeech
impl Clone for NotConfiguredSpeech
impl Copy for NotConfiguredSpeech
Source§impl Debug for NotConfiguredSpeech
impl Debug for NotConfiguredSpeech
Source§impl Default for NotConfiguredSpeech
impl Default for NotConfiguredSpeech
Source§impl Speech for NotConfiguredSpeech
impl Speech for NotConfiguredSpeech
Source§fn transcribe<'life0, 'life1, 'async_trait>(
&'life0 self,
_request: &'life1 TranscribeRequest,
) -> Pin<Box<dyn Future<Output = Result<Transcript, SpeechError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn transcribe<'life0, 'life1, 'async_trait>(
&'life0 self,
_request: &'life1 TranscribeRequest,
) -> Pin<Box<dyn Future<Output = Result<Transcript, SpeechError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Transcribes
request’s audio. Read moreSource§fn synthesize<'life0, 'life1, 'async_trait>(
&'life0 self,
_request: &'life1 SynthesizeRequest,
) -> Pin<Box<dyn Future<Output = Result<Synthesis, SpeechError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn synthesize<'life0, 'life1, 'async_trait>(
&'life0 self,
_request: &'life1 SynthesizeRequest,
) -> Pin<Box<dyn Future<Output = Result<Synthesis, SpeechError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Synthesizes
request’s text to audio; a streaming provider’s
Synthesis::audio starts yielding before the clip is complete. Read moreSource§fn voices<'life0, 'life1, 'async_trait>(
&'life0 self,
_language: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Voice>, SpeechError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn voices<'life0, 'life1, 'async_trait>(
&'life0 self,
_language: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Voice>, SpeechError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The voices the provider offers, filtered to
language (a BCP-47
tag) when given. Read moreSource§fn capabilities(&self) -> SpeechCapabilities
fn capabilities(&self) -> SpeechCapabilities
What this adapter can do, so a caller shapes its ask before
calling.
Source§fn limits(&self) -> SpeechLimits
fn limits(&self) -> SpeechLimits
The local ceilings this adapter enforces;
SpeechLimits::default() when it has none of its own.Auto Trait Implementations§
impl Freeze for NotConfiguredSpeech
impl RefUnwindSafe for NotConfiguredSpeech
impl Send for NotConfiguredSpeech
impl Sync for NotConfiguredSpeech
impl Unpin for NotConfiguredSpeech
impl UnsafeUnpin for NotConfiguredSpeech
impl UnwindSafe for NotConfiguredSpeech
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