Trait SynthesisClient
Source pub trait SynthesisClient: Send {
// Required methods
fn provider(&self) -> SynthesisType;
fn start<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<BoxStream<'static, (Option<usize>, Result<SynthesisEvent>)>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn synthesize<'life0, 'life1, 'async_trait>(
&'life0 mut self,
text: &'life1 str,
cmd_seq: Option<usize>,
option: Option<SynthesisOption>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn stop<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}