Struct hls_m3u8::MasterPlaylistBuilder[][src]

pub struct MasterPlaylistBuilder { /* fields omitted */ }

Master playlist builder.

Methods

impl MasterPlaylistBuilder
[src]

Makes a new MasterPlaylistBuilder 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

Adds the given tag to the resulting playlist.

If it is forbidden to have multiple instance of the tag, the existing one will be overwritten.

Builds a MasterPlaylist instance.

Trait Implementations

impl Debug for MasterPlaylistBuilder
[src]

Formats the value using the given formatter. Read more

impl Clone for MasterPlaylistBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for MasterPlaylistBuilder
[src]

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

Auto Trait Implementations