pub struct VadChannels {
pub audio_tx: UnboundedSender<AudioChunk>,
pub event_rx: UnboundedReceiver<VadEvent>,
pub stop_tx: Sender<()>,
}Expand description
Channel handles for communicating with a VAD component.
Fields§
§audio_tx: UnboundedSender<AudioChunk>Send audio chunks to the VAD component
event_rx: UnboundedReceiver<VadEvent>Receive VAD events from the component
stop_tx: Sender<()>Send stop signal to gracefully shutdown the component
Auto Trait Implementations§
impl Freeze for VadChannels
impl RefUnwindSafe for VadChannels
impl Send for VadChannels
impl Sync for VadChannels
impl Unpin for VadChannels
impl UnsafeUnpin for VadChannels
impl UnwindSafe for VadChannels
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