pub struct Matype {
pub ts_gs: TsGs,
pub sis: bool,
pub ccm: bool,
pub issyi: bool,
pub npd: bool,
pub ext: u8,
pub isi: u8,
}Expand description
The pair of MATYPE bytes describing the input stream format and mode adaptation.
Per EN 302 755 Table 1:
- MATYPE-1 (byte 0): TS/GS, SIS/MIS, CCM/ACM, ISSYI, NPD,
EXT[1:0] - MATYPE-2 (byte 1): ISI (0-255) or reserved
Fields§
§ts_gs: TsGsInput stream format — see TsGs.
sis: boolSingle-input stream (true) or multi-input stream (false).
ccm: boolConstant coding and modulation (true) or adaptive (false).
issyi: boolInput Stream Synchronization Indicator — ISSY field is active.
npd: boolNull Packet Deletion is active.
ext: u8Extension bits — RO in DVB-S2, reserved in DVB-T2.
isi: u8Input Stream Identifier — meaningful only if sis == false.
Trait Implementations§
impl Copy for Matype
Source§impl<'de> Deserialize<'de> for Matype
impl<'de> Deserialize<'de> for Matype
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 Matype
impl StructuralPartialEq for Matype
Auto Trait Implementations§
impl Freeze for Matype
impl RefUnwindSafe for Matype
impl Send for Matype
impl Sync for Matype
impl Unpin for Matype
impl UnsafeUnpin for Matype
impl UnwindSafe for Matype
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