pub enum Class {
Audio = 1,
Video = 2,
Data = 0,
}Expand description
Audio, video, or other data, as import or export already resolved the PID.
Not the PMT stream_type. 0x86 is DTS audio or, with a CUEI registration, an SCTE-35
section, and those take different routes. The stopped-stream log grades audio and video
only; a sparse data PID stays counted.
Variants§
Audio = 1
Continuous audio.
Video = 2
Continuous video, including MPEG-1/2 video carried whole or read only for its clock.
Data = 0
Undecoded or sparse data (SCTE-35, ID3, private sections, private PES), a PCR PID that
carries no elementary stream, or a dropped PID. A quiet second is not a stall. A class a later
version adds reads as data. It must stay last for #[serde(other)]; the explicit
discriminants keep every variant’s as value.
Trait Implementations§
impl Copy for Class
Source§impl<'de> Deserialize<'de> for Class
impl<'de> Deserialize<'de> for Class
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CatalogExt for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.