pub struct RealtimeReceiver { /* private fields */ }Expand description
Read half of a realtime session — receive audio, transcripts, and tool calls.
Implementations§
Source§impl RealtimeReceiver
impl RealtimeReceiver
Sourcepub async fn recv(&mut self) -> Option<RealtimeEvent>
pub async fn recv(&mut self) -> Option<RealtimeEvent>
Receive the next event. Returns None when the connection closes.
Auto Trait Implementations§
impl Freeze for RealtimeReceiver
impl !RefUnwindSafe for RealtimeReceiver
impl Send for RealtimeReceiver
impl Sync for RealtimeReceiver
impl Unpin for RealtimeReceiver
impl UnsafeUnpin for RealtimeReceiver
impl !UnwindSafe for RealtimeReceiver
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