pub struct EventStream { /* private fields */ }Expand description
Handle to a live LCU event stream.
Dropping the stream aborts the background WebSocket task. Call
EventStream::recv to pull the next event, or EventStream::close
for an explicit graceful shutdown.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventStream
impl RefUnwindSafe for EventStream
impl Send for EventStream
impl Sync for EventStream
impl Unpin for EventStream
impl UnsafeUnpin for EventStream
impl UnwindSafe for EventStream
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