pub struct IpcClientEventStream { /* private fields */ }Expand description
Event stream for receiving server events.
Implementations§
Source§impl IpcClientEventStream
impl IpcClientEventStream
Sourcepub async fn recv(&mut self) -> Option<OverlayEvent>
pub async fn recv(&mut self) -> Option<OverlayEvent>
Receive the next event.
Returns None if the connection is closed.
Auto Trait Implementations§
impl Freeze for IpcClientEventStream
impl RefUnwindSafe for IpcClientEventStream
impl Send for IpcClientEventStream
impl Sync for IpcClientEventStream
impl Unpin for IpcClientEventStream
impl UnsafeUnpin for IpcClientEventStream
impl UnwindSafe for IpcClientEventStream
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