pub struct CommandTranscriber { /* private fields */ }Implementations§
Source§impl CommandTranscriber
impl CommandTranscriber
pub fn new(program: impl Into<PathBuf>) -> Self
pub fn with_arguments<I, S>(self, arguments: I) -> Self
pub fn with_identity( self, provider: impl Into<String>, model: impl Into<String>, ) -> Self
pub const fn with_timeout(self, timeout: Duration) -> Self
Trait Implementations§
Source§impl Clone for CommandTranscriber
impl Clone for CommandTranscriber
Source§fn clone(&self) -> CommandTranscriber
fn clone(&self) -> CommandTranscriber
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandTranscriber
Available on crate feature command-transcription only.
impl Debug for CommandTranscriber
Available on crate feature
command-transcription only.Source§impl Transcriber for CommandTranscriber
impl Transcriber for CommandTranscriber
fn transcribe<'life0, 'async_trait>(
&'life0 self,
request: TranscriptionRequest,
) -> Pin<Box<dyn Future<Output = Result<TranscriptionResult, TranscriptionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for CommandTranscriber
impl RefUnwindSafe for CommandTranscriber
impl Send for CommandTranscriber
impl Sync for CommandTranscriber
impl Unpin for CommandTranscriber
impl UnsafeUnpin for CommandTranscriber
impl UnwindSafe for CommandTranscriber
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