#[non_exhaustive]pub enum EcmgScsMessageType {
Show 14 variants
ChannelSetup,
ChannelTest,
ChannelStatus,
ChannelClose,
ChannelError,
StreamSetup,
StreamTest,
StreamStatus,
StreamCloseRequest,
StreamCloseResponse,
StreamError,
CwProvision,
EcmResponse,
Reserved(u16),
}Expand description
ECMG⇔SCS message_type values (TS 103 197 Table 3, §4.4.1 pp. 27-28).
Reserved(u16) is the catch-all for any value outside the registry
(DVB-reserved or user-defined); it preserves the raw 16-bit value so
Display/serialize stay lossless.
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.
ChannelSetup
0x0001 channel_setup.
ChannelTest
0x0002 channel_test.
ChannelStatus
0x0003 channel_status.
ChannelClose
0x0004 channel_close.
ChannelError
0x0005 channel_error.
StreamSetup
0x0101 stream_setup.
StreamTest
0x0102 stream_test.
StreamStatus
0x0103 stream_status.
StreamCloseRequest
0x0104 stream_close_request.
StreamCloseResponse
0x0105 stream_close_response.
StreamError
0x0106 stream_error.
CwProvision
0x0201 CW_provision.
EcmResponse
0x0202 ECM_response.
Reserved(u16)
Any value not in the ECMG⇔SCS registry (DVB-reserved / user-defined).
Implementations§
Trait Implementations§
Source§impl Clone for EcmgScsMessageType
impl Clone for EcmgScsMessageType
Source§fn clone(&self) -> EcmgScsMessageType
fn clone(&self) -> EcmgScsMessageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EcmgScsMessageType
Source§impl Debug for EcmgScsMessageType
impl Debug for EcmgScsMessageType
Source§impl Display for EcmgScsMessageType
impl Display for EcmgScsMessageType
impl Eq for EcmgScsMessageType
Source§impl Hash for EcmgScsMessageType
impl Hash for EcmgScsMessageType
Source§impl PartialEq for EcmgScsMessageType
impl PartialEq for EcmgScsMessageType
Source§fn eq(&self, other: &EcmgScsMessageType) -> bool
fn eq(&self, other: &EcmgScsMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EcmgScsMessageType
impl Serialize for EcmgScsMessageType
impl StructuralPartialEq for EcmgScsMessageType
Auto Trait Implementations§
impl Freeze for EcmgScsMessageType
impl RefUnwindSafe for EcmgScsMessageType
impl Send for EcmgScsMessageType
impl Sync for EcmgScsMessageType
impl Unpin for EcmgScsMessageType
impl UnsafeUnpin for EcmgScsMessageType
impl UnwindSafe for EcmgScsMessageType
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