#[non_exhaustive]pub enum Interface {
EcmgScs,
EmmgPdgMux,
CpSigPSig,
}Expand description
The SimulCrypt connection-oriented interface a message belongs to.
Only the two head-end CA interfaces + C(P)SIG⇔(P)SIG are implemented; the remaining TS 103 197 interfaces (EIS⇔SCS, (P)SIG⇔MUX, ACG⇔EIS, SIMCOMP⇔MUXCONFIG) share the same framing but are not modelled here.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EcmgScs
ECMG ⇔ SCS (TS 103 197 clause 5).
EmmgPdgMux
EMMG/PDG ⇔ MUX (TS 103 197 clause 6).
CpSigPSig
C(P)SIG ⇔ (P)SIG (TS 103 197 clause 8).
Implementations§
Source§impl Interface
impl Interface
Sourcepub const PROTOCOL_VERSION: u8 = 0x03
pub const PROTOCOL_VERSION: u8 = 0x03
The mandated protocol_version byte for this interface (Table 2).
Both implemented interfaces use 0x03 (the 0x05 DVB-H variant of
annex N is not modelled).
Sourcepub const fn protocol_version(self) -> u8
pub const fn protocol_version(self) -> u8
protocol_version for this interface (Table 2, §4.4.1 p. 27).
Trait Implementations§
impl Copy for Interface
impl Eq for Interface
impl StructuralPartialEq for Interface
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnsafeUnpin for Interface
impl UnwindSafe for Interface
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