pub struct RealtimeEventReceiver { /* private fields */ }Expand description
Single-consumer bounded receiver for real-time events.
Implementations§
Source§impl RealtimeEventReceiver
impl RealtimeEventReceiver
Sourcepub async fn recv(&mut self) -> Option<RealtimeEvent>
pub async fn recv(&mut self) -> Option<RealtimeEvent>
Receives the next accepted event or the ordered transport-gap marker.
Sourcepub fn acknowledge_transport_gap(&mut self)
pub fn acknowledge_transport_gap(&mut self)
Allows reconnect after the caller has installed its recovery fence.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RealtimeEventReceiver
impl !UnwindSafe for RealtimeEventReceiver
impl Freeze for RealtimeEventReceiver
impl Send for RealtimeEventReceiver
impl Sync for RealtimeEventReceiver
impl Unpin for RealtimeEventReceiver
impl UnsafeUnpin for RealtimeEventReceiver
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