Enum m3u8_rs::MediaPlaylistTag[][src]

pub enum MediaPlaylistTag {
    M3U(String),
    Version(usize),
    Segment(SegmentTag),
    TargetDuration(f32),
    MediaSequence(i32),
    DiscontinuitySequence(i32),
    EndList,
    PlaylistType(MediaPlaylistType),
    IFramesOnly,
    Start(Start),
    Unknown(ExtTag),
    IndependentSegments,
}
Expand description

Contains all the tags required to parse a media playlist.

Variants

M3U(String)

Tuple Fields of M3U

0: String
Version(usize)

Tuple Fields of Version

0: usize
Segment(SegmentTag)

Tuple Fields of Segment

0: SegmentTag
TargetDuration(f32)

Tuple Fields of TargetDuration

0: f32
MediaSequence(i32)

Tuple Fields of MediaSequence

0: i32
DiscontinuitySequence(i32)

Tuple Fields of DiscontinuitySequence

0: i32
EndList
PlaylistType(MediaPlaylistType)

Tuple Fields of PlaylistType

0: MediaPlaylistType
IFramesOnly
Start(Start)

Tuple Fields of Start

0: Start
Unknown(ExtTag)

Tuple Fields of Unknown

0: ExtTag
IndependentSegments

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.