Enum hls_m3u8::types::MediaType[][src]

pub enum MediaType {
    Audio,
    Video,
    Subtitles,
    ClosedCaptions,
}

Media type.

See: 4.3.4.1. EXT-X-MEDIA

Variants

Trait Implementations

impl Debug for MediaType
[src]

Formats the value using the given formatter. Read more

impl Clone for MediaType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MediaType
[src]

impl PartialEq for MediaType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MediaType
[src]

impl Hash for MediaType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for MediaType
[src]

Formats the value using the given formatter. Read more

impl FromStr for MediaType
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for MediaType

impl Sync for MediaType