pub struct TrackPublished {
pub track: RemoteDataTrack,
}Expand description
A track has been published by a remote participant and is available to be subscribed to.
Emit a public event to deliver the track to the user, allowing them to subscribe
with RemoteDataTrack::subscribe if desired.
Fields§
§track: RemoteDataTrackTrack that was published.
Trait Implementations§
Source§impl Debug for TrackPublished
impl Debug for TrackPublished
Source§impl From<TrackPublished> for OutputEvent
Convert into TrackPublished variant.
impl From<TrackPublished> for OutputEvent
Convert into TrackPublished variant.
Source§fn from(v: TrackPublished) -> Self
fn from(v: TrackPublished) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrackPublished
impl RefUnwindSafe for TrackPublished
impl Send for TrackPublished
impl Sync for TrackPublished
impl Unpin for TrackPublished
impl UnsafeUnpin for TrackPublished
impl UnwindSafe for TrackPublished
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