Struct mpeg2ts_reader::packet::AdaptationField [−][src]
pub struct AdaptationField<'buf> { /* fields omitted */ }
A collection of fields that may optionally appear within the header of a transport stream
Packet
.
Methods
impl<'buf> AdaptationField<'buf>
[src]
impl<'buf> AdaptationField<'buf>
pub fn new(buf: &'buf [u8]) -> AdaptationField
[src]
pub fn new(buf: &'buf [u8]) -> AdaptationField
pub fn discontinuity_indicator(&self) -> bool
[src]
pub fn discontinuity_indicator(&self) -> bool
pub fn random_access_indicator(&self) -> bool
[src]
pub fn random_access_indicator(&self) -> bool
pub fn elementary_stream_priority_indicator(&self) -> u8
[src]
pub fn elementary_stream_priority_indicator(&self) -> u8
pub fn pcr(&self) -> Result<PCR, AdaptationFieldError>
[src]
pub fn pcr(&self) -> Result<PCR, AdaptationFieldError>
pub fn opcr(&self) -> Result<PCR, AdaptationFieldError>
[src]
pub fn opcr(&self) -> Result<PCR, AdaptationFieldError>
Returns the 'Original Program Clock Reference' value, is present.
pub fn splice_countdown(&self) -> Result<u8, AdaptationFieldError>
[src]
pub fn splice_countdown(&self) -> Result<u8, AdaptationFieldError>
pub fn transport_private_data(&self) -> Result<&[u8], AdaptationFieldError>
[src]
pub fn transport_private_data(&self) -> Result<&[u8], AdaptationFieldError>
pub fn adaptation_field_extension(
&self
) -> Result<AdaptationFieldExtension<'buf>, AdaptationFieldError>
[src]
pub fn adaptation_field_extension(
&self
) -> Result<AdaptationFieldExtension<'buf>, AdaptationFieldError>
Auto Trait Implementations
impl<'buf> Send for AdaptationField<'buf>
impl<'buf> Send for AdaptationField<'buf>
impl<'buf> Sync for AdaptationField<'buf>
impl<'buf> Sync for AdaptationField<'buf>