pub enum SpeechResult {
OK,
FAIL,
}
Variants
OK
FAIL
Implementations
sourceimpl SpeechResult
impl SpeechResult
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<SpeechResult>
Trait Implementations
sourceimpl Clone for SpeechResult
impl Clone for SpeechResult
sourcefn clone(&self) -> SpeechResult
fn clone(&self) -> SpeechResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SpeechResult
impl Debug for SpeechResult
sourceimpl Hash for SpeechResult
impl Hash for SpeechResult
sourceimpl Ord for SpeechResult
impl Ord for SpeechResult
sourcefn cmp(&self, other: &SpeechResult) -> Ordering
fn cmp(&self, other: &SpeechResult) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SpeechResult> for SpeechResult
impl PartialEq<SpeechResult> for SpeechResult
sourcefn eq(&self, other: &SpeechResult) -> bool
fn eq(&self, other: &SpeechResult) -> bool
sourceimpl PartialOrd<SpeechResult> for SpeechResult
impl PartialOrd<SpeechResult> for SpeechResult
sourcefn partial_cmp(&self, other: &SpeechResult) -> Option<Ordering>
fn partial_cmp(&self, other: &SpeechResult) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl TryFrom<i32> for SpeechResult
impl TryFrom<i32> for SpeechResult
impl Copy for SpeechResult
impl Eq for SpeechResult
impl StructuralEq for SpeechResult
impl StructuralPartialEq for SpeechResult
Auto Trait Implementations
impl RefUnwindSafe for SpeechResult
impl Send for SpeechResult
impl Sync for SpeechResult
impl Unpin for SpeechResult
impl UnwindSafe for SpeechResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more