#[non_exhaustive]pub enum VoiceStatus {
Idle,
Listening,
Transcribing,
Processing,
Speaking,
}Expand description
Voice channel status for WebSocket reporting.
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.
Idle
Channel is idle, not actively listening.
Listening
Listening for speech via VAD.
Transcribing
Transcribing detected speech via STT.
Processing
Processing transcribed text through the agent pipeline.
Speaking
Speaking agent response via TTS.
Trait Implementations§
Source§impl Clone for VoiceStatus
impl Clone for VoiceStatus
Source§fn clone(&self) -> VoiceStatus
fn clone(&self) -> VoiceStatus
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 VoiceStatus
impl Debug for VoiceStatus
Source§impl<'de> Deserialize<'de> for VoiceStatus
impl<'de> Deserialize<'de> for VoiceStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VoiceStatus
impl Display for VoiceStatus
Source§impl PartialEq for VoiceStatus
impl PartialEq for VoiceStatus
Source§impl Serialize for VoiceStatus
impl Serialize for VoiceStatus
impl Copy for VoiceStatus
impl Eq for VoiceStatus
impl StructuralPartialEq for VoiceStatus
Auto Trait Implementations§
impl Freeze for VoiceStatus
impl RefUnwindSafe for VoiceStatus
impl Send for VoiceStatus
impl Sync for VoiceStatus
impl Unpin for VoiceStatus
impl UnsafeUnpin for VoiceStatus
impl UnwindSafe for VoiceStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.