#[non_exhaustive]pub enum SttSource {
Local,
Cloud(String),
}Expand description
Source of an STT transcription result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Local
Result came from the local STT engine.
Cloud(String)
Result came from a cloud provider (name stored).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SttSource
impl RefUnwindSafe for SttSource
impl Send for SttSource
impl Sync for SttSource
impl Unpin for SttSource
impl UnsafeUnpin for SttSource
impl UnwindSafe for SttSource
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