pub struct Broadcast {}Expand description
A collection of media tracks that can be published and subscribed to.
Create via Broadcast::produce to obtain both BroadcastProducer and BroadcastConsumer pair.
Implementations§
Source§impl Broadcast
impl Broadcast
pub fn produce() -> Produce<BroadcastProducer, BroadcastConsumer>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Broadcast
impl RefUnwindSafe for Broadcast
impl Send for Broadcast
impl Sync for Broadcast
impl Unpin for Broadcast
impl UnwindSafe for Broadcast
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