pub struct LosslessEventReceiver { /* private fields */ }Expand description
Single-consumer bounded stream for hosts that must not silently lose committed lossless client events.
Implementations§
Source§impl LosslessEventReceiver
impl LosslessEventReceiver
Sourcepub async fn recv(&mut self) -> Option<ClientEvent>
pub async fn recv(&mut self) -> Option<ClientEvent>
Receives the next lossless event, or None after the client runner
closes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LosslessEventReceiver
impl RefUnwindSafe for LosslessEventReceiver
impl Send for LosslessEventReceiver
impl Sync for LosslessEventReceiver
impl Unpin for LosslessEventReceiver
impl UnsafeUnpin for LosslessEventReceiver
impl UnwindSafe for LosslessEventReceiver
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