pub struct BroadcastBuilder<T> { /* private fields */ }Expand description
The build type returned from broadcast().
It is used to register new broadcast receivers. Each receiver consumes copies
of items of the stream. The builder is finished by guard.build() so that
registered receivers can start consuming data. Otherwise, the receivers
take empty input.
Implementations§
Source§impl<T> BroadcastBuilder<T>
impl<T> BroadcastBuilder<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for BroadcastBuilder<T>
impl<T> !UnwindSafe for BroadcastBuilder<T>
impl<T> Freeze for BroadcastBuilder<T>
impl<T> Send for BroadcastBuilder<T>where
T: Send,
impl<T> Sync for BroadcastBuilder<T>where
T: Send,
impl<T> Unpin for BroadcastBuilder<T>
impl<T> UnsafeUnpin for BroadcastBuilder<T>
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