Enum flv_codec::Tag[][src]

pub enum Tag<Data = Vec<u8>> {
    Audio(AudioTag<Data>),
    Video(VideoTag<Data>),
    ScriptData(ScriptDataTag<Data>),
}

FLV tag.

Variants

Audio tag.

Video tag.

Script data tag.

Methods

impl<Data> Tag<Data>
[src]

Returns the kind of the tag.

Returns the timestamp of the tag.

Returns the stream identifier of the tag.

impl<Data: AsRef<[u8]>> Tag<Data>
[src]

Returns the number of bytes required to encode this tag.

Trait Implementations

impl<Data: Debug> Debug for Tag<Data>
[src]

Formats the value using the given formatter. Read more

impl<Data: Clone> Clone for Tag<Data>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Data> From<AudioTag<Data>> for Tag<Data>
[src]

Performs the conversion.

impl<Data> From<VideoTag<Data>> for Tag<Data>
[src]

Performs the conversion.

impl<Data> From<ScriptDataTag<Data>> for Tag<Data>
[src]

Performs the conversion.

Auto Trait Implementations

impl<Data> Send for Tag<Data> where
    Data: Send

impl<Data> Sync for Tag<Data> where
    Data: Sync