pub struct Tracks { /* private fields */ }Expand description
The tracks a broadcast lists, from Consumer::tracks.
Reports every track listed once the listing is complete, then TracksEvent::Synced, then
each change as it happens, until the broadcast ends: a clean end comes after each
track that left before it, and a track still listed then ends unfinished. Listing a broadcast never
requests a track: subscribe to each listed one through Consumer::track.
Implementations§
Source§impl Tracks
impl Tracks
Sourcepub fn poll_next(
&mut self,
waiter: &Waiter,
) -> Poll<Result<Option<TracksEvent>, Error>>
pub fn poll_next( &mut self, waiter: &Waiter, ) -> Poll<Result<Option<TracksEvent>, Error>>
The next event: None once the broadcast ended, or the error that ended
the listing, such as an upstream refusing it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tracks
impl RefUnwindSafe for Tracks
impl Send for Tracks
impl Sync for Tracks
impl Unpin for Tracks
impl UnsafeUnpin for Tracks
impl UnwindSafe for Tracks
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