Enum mpeg2ts_reader::packet::AdaptationControl[][src]

pub enum AdaptationControl {
    Reserved,
    PayloadOnly,
    AdaptationFieldOnly,
    AdaptationFieldAndPayload,
}

the different values indicating whether a Packet's adaptation_field() and payload() methods will return Some or None.

Variants

This value is used if the transport stream packet adaptation_control field uses the value 0b00, which is not defined by the spec.

indicates that this packet contains a payload, but not an adaptation field

indicates that this packet contains an adaptation field, but not a payload

indicates that this packet contains both an adaptation field and a payload

Methods

impl AdaptationControl
[src]

Trait Implementations

impl Eq for AdaptationControl
[src]

impl PartialEq for AdaptationControl
[src]

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

This method tests for !=.

impl Debug for AdaptationControl
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations