[−][src]Enum mpeg2ts_reader::packet::AdaptationControl
the different values indicating whether a Packet's adaptation_field() and payload()
methods will return Some or None.
Variants
ReservedThis value is used if the transport stream packet adaptation_control field uses the value
0b00, which is not defined by the spec.
PayloadOnlyindicates that this packet contains a payload, but not an adaptation field
AdaptationFieldOnlyindicates that this packet contains an adaptation field, but not a payload
AdaptationFieldAndPayloadindicates that this packet contains both an adaptation field and a payload
Methods
impl AdaptationControl[src]
pub fn has_payload(self) -> bool[src]
True if this AdaptationControl variant indicates that the packet will have a payload
Trait Implementations
impl Eq for AdaptationControl[src]
impl PartialEq<AdaptationControl> for AdaptationControl[src]
fn eq(&self, other: &AdaptationControl) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for AdaptationControl[src]
Auto Trait Implementations
impl Send for AdaptationControl
impl Sync for AdaptationControl
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,