Enum chlorate::FinalResultEndpointReason [−][src]
Variants
End of speech from endpointer.
End of utterance from endpointer.
No more audio.
Final was generated because a hotword was detected.
ASR was reset via the external API.
Final recognition result was generated due to an error in ASR.
Implementations
impl FinalResultEndpointReason
[src]
pub fn is_valid(value: i32) -> bool
[src]
Returns true
if value
is a variant of FinalResultEndpointReason
.
pub fn from_i32(value: i32) -> Option<FinalResultEndpointReason>
[src]
Converts an i32
to a FinalResultEndpointReason
, or None
if value
is not a valid variant.
Trait Implementations
impl Clone for FinalResultEndpointReason
[src]
fn clone(&self) -> FinalResultEndpointReason
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FinalResultEndpointReason
[src]
impl Debug for FinalResultEndpointReason
[src]
impl Default for FinalResultEndpointReason
[src]
impl Eq for FinalResultEndpointReason
[src]
impl Hash for FinalResultEndpointReason
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for FinalResultEndpointReason
[src]
fn cmp(&self, other: &FinalResultEndpointReason) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<FinalResultEndpointReason> for FinalResultEndpointReason
[src]
fn eq(&self, other: &FinalResultEndpointReason) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<FinalResultEndpointReason> for FinalResultEndpointReason
[src]
fn partial_cmp(&self, other: &FinalResultEndpointReason) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for FinalResultEndpointReason
[src]
impl StructuralPartialEq for FinalResultEndpointReason
[src]
Auto Trait Implementations
impl RefUnwindSafe for FinalResultEndpointReason
impl Send for FinalResultEndpointReason
impl Sync for FinalResultEndpointReason
impl Unpin for FinalResultEndpointReason
impl UnwindSafe for FinalResultEndpointReason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,