pub struct RenditionReport {
pub uri: String,
pub last_msn: u64,
pub last_part: Option<u64>,
pub extra_attrs: Vec<(String, String)>,
}Expand description
#EXT-X-RENDITION-REPORT (RFC 8216bis §4.4.5.4) — a pointer to the
current state of an associated Rendition’s own Media Playlist, so an
LL-HLS client following one Rendition can discover how far another has
progressed without polling it.
Fields§
§uri: StringURI of the Rendition’s Media Playlist, relative to the playlist
carrying this tag (REQUIRED).
last_msn: u64LAST-MSN — Media Sequence Number of the last segment (or partial
segment, if any) currently in that Rendition (REQUIRED).
last_part: Option<u64>LAST-PART — Part Index of the last partial segment at last_msn,
if that Rendition has partial segments.
extra_attrs: Vec<(String, String)>Unmodeled attributes, retained so REQ- prefixed names can fire
RFC 8216bis §8 row 12. Sorted by name on parse (deterministic).
Trait Implementations§
Source§impl Clone for RenditionReport
impl Clone for RenditionReport
Source§fn clone(&self) -> RenditionReport
fn clone(&self) -> RenditionReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenditionReport
impl Debug for RenditionReport
Source§impl Default for RenditionReport
impl Default for RenditionReport
Source§fn default() -> RenditionReport
fn default() -> RenditionReport
Returns the “default value” for a type. Read more
impl Eq for RenditionReport
Source§impl PartialEq for RenditionReport
impl PartialEq for RenditionReport
impl StructuralPartialEq for RenditionReport
Auto Trait Implementations§
impl Freeze for RenditionReport
impl RefUnwindSafe for RenditionReport
impl Send for RenditionReport
impl Sync for RenditionReport
impl Unpin for RenditionReport
impl UnsafeUnpin for RenditionReport
impl UnwindSafe for RenditionReport
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