pub struct StreamEventSource { /* private fields */ }Expand description
Bridges a StreamValue to the kernel EventSource contract.
Holds the stream, the run Ref that events are attributed to, and the
sequencing state. Construct one with StreamEventSource::new (or
StreamValue::event_source) and pull events through the EventSource
implementation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StreamEventSource
impl RefUnwindSafe for StreamEventSource
impl Send for StreamEventSource
impl Sync for StreamEventSource
impl Unpin for StreamEventSource
impl UnsafeUnpin for StreamEventSource
impl UnwindSafe for StreamEventSource
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