pub struct CommandTranscriber { /* private fields */ }Expand description
Data type for command transcriber.
Implementations§
Source§impl CommandTranscriber
impl CommandTranscriber
Sourcepub fn new(command: impl Into<PathBuf>, format: TranscriptFormat) -> Self
pub fn new(command: impl Into<PathBuf>, format: TranscriptFormat) -> Self
Creates a new value.
Sourcepub fn from_options(options: CommandTranscriberOptions) -> Self
pub fn from_options(options: CommandTranscriberOptions) -> Self
Creates from options.
Sourcepub fn args(self, args: impl IntoIterator<Item = String>) -> Self
pub fn args(self, args: impl IntoIterator<Item = String>) -> Self
Returns args.
Sourcepub fn timeout_seconds(self, timeout_seconds: Option<u64>) -> Self
pub fn timeout_seconds(self, timeout_seconds: Option<u64>) -> Self
Returns this value with timeout.
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
impl Debug for CommandTranscriber
Source§impl Transcriber for CommandTranscriber
impl Transcriber for CommandTranscriber
Source§fn transcribe(&mut self, input: &Path) -> Result<TranscriptionResult>
fn transcribe(&mut self, input: &Path) -> Result<TranscriptionResult>
Returns transcribe.
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