pub enum DecodingState {
Finalized,
Running,
Failed,
}
Expand description
State of the decodification after processing a chunk of data.
Variants§
Finalized
Silence has occured and you can retrieve a new utterance with the Recognizer::result
.
Running
Decoding still continues.
Failed
Decoding failed in some way.
Trait Implementations§
Source§impl Clone for DecodingState
impl Clone for DecodingState
Source§fn clone(&self) -> DecodingState
fn clone(&self) -> DecodingState
Returns a duplicate of the value. Read more
1.0.0 · 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 DecodingState
impl Debug for DecodingState
Source§impl PartialEq for DecodingState
impl PartialEq for DecodingState
impl Copy for DecodingState
impl Eq for DecodingState
impl StructuralPartialEq for DecodingState
Auto Trait Implementations§
impl Freeze for DecodingState
impl RefUnwindSafe for DecodingState
impl Send for DecodingState
impl Sync for DecodingState
impl Unpin for DecodingState
impl UnwindSafe for DecodingState
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