pub struct CanonicalEventStream { /* private fields */ }Expand description
Cloneable receiver handle for canonical events from one Interpretation.
Implementations§
Source§impl CanonicalEventStream
impl CanonicalEventStream
Sourcepub async fn recv(&self) -> Option<InterpreterOutputEvent>
pub async fn recv(&self) -> Option<InterpreterOutputEvent>
Receive the next event. None when the stream is closed after terminal end
was already delivered (or the owner dropped without end — treated as loss).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CanonicalEventStream
impl !RefUnwindSafe for CanonicalEventStream
impl Send for CanonicalEventStream
impl Sync for CanonicalEventStream
impl Unpin for CanonicalEventStream
impl UnsafeUnpin for CanonicalEventStream
impl UnwindSafe for CanonicalEventStream
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