pub struct EventStream<T: 'static> { /* private fields */ }Expand description
The consuming half of an EventChannel.
Collectors take events one at a time; an event goes to exactly one collector, so two collectors share the stream rather than each seeing every event.
Implementations§
Source§impl<T: 'static> EventStream<T>
impl<T: 'static> EventStream<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for EventStream<T>
impl<T> !Send for EventStream<T>
impl<T> !Sync for EventStream<T>
impl<T> !UnwindSafe for EventStream<T>
impl<T> Freeze for EventStream<T>
impl<T> Unpin for EventStream<T>
impl<T> UnsafeUnpin for EventStream<T>where
Rc<ChannelShared<T>>: UnsafeUnpin,
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