Struct hls_m3u8::MediaPlaylistBuilder[][src]

pub struct MediaPlaylistBuilder { /* fields omitted */ }

Media playlist builder.

Methods

impl MediaPlaylistBuilder
[src]

Makes a new MediaPlaylistBuilder instance.

Important traits for &'a mut R

Sets the protocol compatibility version of the resulting playlist.

If the resulting playlist has tags which requires a compatibility version greater than version, finish() method will fail with an ErrorKind::InvalidInput error.

The default is the maximum version among the tags in the playlist.

Important traits for &'a mut R

Sets the given tag to the resulting playlist.

Important traits for &'a mut R

Adds a media segment to the resulting playlist.

Important traits for &'a mut R

Sets the options that will be associated to the resulting playlist.

The default value is MediaPlaylistOptions::default().

Builds a MediaPlaylist instance.

Trait Implementations

impl Debug for MediaPlaylistBuilder
[src]

Formats the value using the given formatter. Read more

impl Clone for MediaPlaylistBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for MediaPlaylistBuilder
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations