pub struct TrackConsumer {
pub info: Track,
/* private fields */
}Expand description
A consumer for a track, used to read groups.
Fields§
§info: TrackImplementations§
Source§impl TrackConsumer
impl TrackConsumer
Sourcepub async fn next_group(&mut self) -> Result<Option<GroupConsumer>>
pub async fn next_group(&mut self) -> Result<Option<GroupConsumer>>
Return the next group in order.
NOTE: This can have gaps if the reader is too slow or there were network slowdowns.
pub fn is_clone(&self, other: &Self) -> bool
Trait Implementations§
Source§impl Clone for TrackConsumer
impl Clone for TrackConsumer
Source§fn clone(&self) -> TrackConsumer
fn clone(&self) -> TrackConsumer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TrackConsumer
impl RefUnwindSafe for TrackConsumer
impl Send for TrackConsumer
impl Sync for TrackConsumer
impl Unpin for TrackConsumer
impl UnwindSafe for TrackConsumer
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