Struct hls_m3u8::MediaSegment [−][src]
pub struct MediaSegment { /* fields omitted */ }
Media segment.
Methods
impl MediaSegment
[src]
impl MediaSegment
pub fn uri(&self) -> &SingleLineString
[src]
pub fn uri(&self) -> &SingleLineString
Returns the URI of the media segment.
pub fn inf_tag(&self) -> &ExtInf
[src]
pub fn inf_tag(&self) -> &ExtInf
Returns the EXT-X-INF
tag associated with the media segment.
pub fn byte_range_tag(&self) -> Option<ExtXByteRange>
[src]
pub fn byte_range_tag(&self) -> Option<ExtXByteRange>
Returns the EXT-X-BYTERANGE
tag associated with the media segment.
pub fn date_range_tag(&self) -> Option<&ExtXDateRange>
[src]
pub fn date_range_tag(&self) -> Option<&ExtXDateRange>
Returns the EXT-X-DATERANGE
tag associated with the media segment.
pub fn discontinuity_tag(&self) -> Option<ExtXDiscontinuity>
[src]
pub fn discontinuity_tag(&self) -> Option<ExtXDiscontinuity>
Returns the EXT-X-DISCONTINUITY
tag associated with the media segment.
pub fn program_date_time_tag(&self) -> Option<&ExtXProgramDateTime>
[src]
pub fn program_date_time_tag(&self) -> Option<&ExtXProgramDateTime>
Returns the EXT-X-PROGRAM-DATE-TIME
tag associated with the media segment.
pub fn map_tag(&self) -> Option<&ExtXMap>
[src]
pub fn map_tag(&self) -> Option<&ExtXMap>
Returns the EXT-X-MAP
tag associated with the media segment.
Returns the EXT-X-KEY
tags associated with the media segment.
pub fn requires_version(&self) -> ProtocolVersion
[src]
pub fn requires_version(&self) -> ProtocolVersion
Returns the protocol compatibility version that this segment requires.
Trait Implementations
impl Debug for MediaSegment
[src]
impl Debug for MediaSegment
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MediaSegment
[src]
impl Clone for MediaSegment
fn clone(&self) -> MediaSegment
[src]
fn clone(&self) -> MediaSegment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Display for MediaSegment
[src]
impl Display for MediaSegment
Auto Trait Implementations
impl Send for MediaSegment
impl Send for MediaSegment
impl Sync for MediaSegment
impl Sync for MediaSegment