[][src]Struct hls_m3u8::MasterPlaylist

pub struct MasterPlaylist { /* fields omitted */ }

Master playlist.

Methods

impl MasterPlaylist[src]

pub fn version_tag(&self) -> ExtXVersion[src]

Returns the EXT-X-VERSION tag contained in the playlist.

pub fn independent_segments_tag(&self) -> Option<ExtXIndependentSegments>[src]

Returns the EXT-X-INDEPENDENT-SEGMENTS tag contained in the playlist.

pub fn start_tag(&self) -> Option<ExtXStart>[src]

Returns the EXT-X-START tag contained in the playlist.

pub fn media_tags(&self) -> &[ExtXMedia][src]

Returns the EXT-X-MEDIA tags contained in the playlist.

pub fn stream_inf_tags(&self) -> &[ExtXStreamInf][src]

Returns the EXT-X-STREAM-INF tags contained in the playlist.

pub fn i_frame_stream_inf_tags(&self) -> &[ExtXIFrameStreamInf][src]

Returns the EXT-X-I-FRAME-STREAM-INF tags contained in the playlist.

pub fn session_data_tags(&self) -> &[ExtXSessionData][src]

Returns the EXT-X-SESSION-DATA tags contained in the playlist.

pub fn session_key_tags(&self) -> &[ExtXSessionKey][src]

Returns the EXT-X-SESSION-KEY tags contained in the playlist.

Trait Implementations

impl Clone for MasterPlaylist[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Display for MasterPlaylist[src]

impl Debug for MasterPlaylist[src]

impl FromStr for MasterPlaylist[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]