Skip to main content

StreamId

Struct StreamId 

Source
pub struct StreamId(/* private fields */);
Expand description

Values which may be returned by PesHeader::stream_id() to identify the kind of content within the Packetized Elementary Stream.

Implementations§

Source§

impl StreamId

Source

pub const PROGRAM_STREAM_MAP: StreamId

program_stream_map

Source

pub const PRIVATE_STREAM1: StreamId

private_stream_1

Source

pub const PADDING_STREAM: StreamId

padding_stream

Source

pub const PRIVATE_STREAM2: StreamId

private_stream_2

Source

pub const ECM_STREAM: StreamId

ECM_stream

Source

pub const EMM_STREAM: StreamId

EMM_stream

Source

pub const DSM_CC: StreamId

Rec. ITU-T H.222.0 | ISO/IEC 13818-1 Annex B or ISO/IEC 13818-6_DSMCC_stream

Source

pub const ISO_13522_STREAM: StreamId

ISO/IEC_13522_stream

Source

pub const H222_1_TYPE_A: StreamId

Rec. ITU-T H.222.1 type A

Source

pub const H222_1_TYPE_B: StreamId

Rec. ITU-T H.222.1 type B

Source

pub const H222_1_TYPE_C: StreamId

Rec. ITU-T H.222.1 type C

Source

pub const H222_1_TYPE_D: StreamId

Rec. ITU-T H.222.1 type D

Source

pub const H222_1_TYPE_E: StreamId

Rec. ITU-T H.222.1 type E

Source

pub const ANCILLARY_STREAM: StreamId

ancillary_stream

Source

pub const SL_PACKETIZED_STREAM: StreamId

ISO/IEC 14496-1_SL-packetized_stream

Source

pub const FLEX_MUX_STREAM: StreamId

ISO/IEC 14496-1_FlexMux_stream

Source

pub const METADATA_STREAM: StreamId

metadata stream

Source

pub const EXTENDED_STREAM_ID: StreamId

extended_stream_id

Source

pub const RESERVED_DATA_STREAM: StreamId

reserved data stream

Source

pub const PROGRAM_STREAM_DIRECTORY: StreamId

program_stream_directory

Trait Implementations§

Source§

impl Debug for StreamId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for StreamId

Source§

impl PartialEq for StreamId

Source§

fn eq(&self, other: &StreamId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for StreamId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.