[][src]Struct hls_m3u8::tags::ExtXIFrameStreamInf

pub struct ExtXIFrameStreamInf { /* fields omitted */ }

Methods

impl ExtXIFrameStreamInf[src]

pub fn new(uri: QuotedString, bandwidth: u64) -> Self[src]

Makes a new ExtXIFrameStreamInf tag.

pub fn uri(&self) -> &QuotedString[src]

Returns the URI that identifies the associated media playlist.

pub fn bandwidth(&self) -> u64[src]

Returns the peak segment bit rate of the variant stream.

pub fn average_bandwidth(&self) -> Option<u64>[src]

Returns the average segment bit rate of the variant stream.

pub fn codecs(&self) -> Option<&QuotedString>[src]

Returns a string that represents the list of codec types contained the variant stream.

pub fn resolution(&self) -> Option<DecimalResolution>[src]

Returns the optimal pixel resolution at which to display all the video in the variant stream.

pub fn hdcp_level(&self) -> Option<HdcpLevel>[src]

Returns the HDCP level of the variant stream.

pub fn video(&self) -> Option<&QuotedString>[src]

Returns the group identifier for the video in the variant stream.

pub fn requires_version(&self) -> ProtocolVersion[src]

Returns the protocol compatibility version that this tag requires.

Trait Implementations

impl Clone for ExtXIFrameStreamInf[src]

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

Performs copy-assignment from source. Read more

impl From<ExtXIFrameStreamInf> for MasterPlaylistTag[src]

impl PartialEq<ExtXIFrameStreamInf> for ExtXIFrameStreamInf[src]

impl Eq for ExtXIFrameStreamInf[src]

impl Display for ExtXIFrameStreamInf[src]

impl Debug for ExtXIFrameStreamInf[src]

impl Hash for ExtXIFrameStreamInf[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

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

impl FromStr for ExtXIFrameStreamInf[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]