pub struct TrackReader {
pub info: Arc<Track>,
/* private fields */
}
Expand description
Receives new streams for a track.
Fields§
§info: Arc<Track>
Implementations§
Source§impl TrackReader
impl TrackReader
pub async fn mode(&self) -> Result<TrackReaderMode, ServeError>
pub fn latest(&self) -> Option<(u64, u64)>
pub async fn closed(&self) -> Result<(), ServeError>
Trait Implementations§
Source§impl Clone for TrackReader
impl Clone for TrackReader
Source§fn clone(&self) -> TrackReader
fn clone(&self) -> TrackReader
Returns a copy 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 TrackReader
impl RefUnwindSafe for TrackReader
impl Send for TrackReader
impl Sync for TrackReader
impl Unpin for TrackReader
impl UnwindSafe for TrackReader
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