#[non_exhaustive]pub struct Info {
pub origin: Info,
}Expand description
A collection of media tracks that can be published and subscribed to.
Create via Info::produce to obtain both Producer and Consumer pair.
This is the broadcast’s static identity, fixed for its lifetime; the path it
takes to get here is the dynamic Route, observed via Consumer::route.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.origin: InfoThe origin this broadcast belongs to (its identity, and the cache pool its tracks and groups inherit). A track reaches its pool by walking up this link, so the pool has a single home on the origin rather than being copied per broadcast. Defaults to an unknown origin with an unbounded pool (a standalone broadcast with no relay origin).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnsafeUnpin for Info
impl UnwindSafe for Info
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