Struct TrackFollower
pub struct TrackFollower { /* private fields */ }Expand description
A track that peers publish one after another, such as the input track of a browser viewer: each publisher in turn is followed from the start of its next group, whether it announces the namespace (PUBLISH_NAMESPACE, answered with SUBSCRIBE) or publishes the track (PUBLISH). While one is followed, a PUBLISH of another is refused, and one that announced takes over once the followed one leaves.
Implementations§
§impl TrackFollower
impl TrackFollower
pub async fn next(&self) -> Option<FollowEvent>
pub async fn next(&self) -> Option<FollowEvent>
The next object of the followed publisher, or the end of its
subscription; None once the session ends.
Trait Implementations§
§impl Drop for TrackFollower
impl Drop for TrackFollower
Auto Trait Implementations§
impl !Freeze for TrackFollower
impl !RefUnwindSafe for TrackFollower
impl !UnwindSafe for TrackFollower
impl Send for TrackFollower
impl Sync for TrackFollower
impl Unpin for TrackFollower
impl UnsafeUnpin for TrackFollower
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