pub enum Channel {
Local,
Remote,
}Expand description
Which side of a two-channel call the audio (or transcript) belongs to.
The daemon tees both RTP directions through one ASR instance, so every event needs to carry the channel it came from.
Variants§
Local
Audio captured from the local mic — what the user said.
Remote
Audio received over RTP — what the remote party said.
Trait Implementations§
impl Copy for Channel
impl Eq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin for Channel
impl UnwindSafe for Channel
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