pub enum RecognitionInput {
Default,
Stream(AudioStream),
}
Expand description
Specifies where the input for speech recognition should come from.
Variants§
Default
Listen to the default recording device on the system
Stream(AudioStream)
Read from the given stream
Auto Trait Implementations§
impl Freeze for RecognitionInput
impl RefUnwindSafe for RecognitionInput
impl Send for RecognitionInput
impl Sync for RecognitionInput
impl Unpin for RecognitionInput
impl UnwindSafe for RecognitionInput
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