#[non_exhaustive]pub enum ContextIdType {
BouquetId,
OriginalNetworkId,
NetworkId,
DvbReserved(u8),
UserDefined(u8),
}Expand description
Context ID type — ETSI TS 102 323 §5.2.2 Table 2.
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.
BouquetId
0x00 — context_id is a value of bouquet_id.
OriginalNetworkId
0x01 — context_id is a value of original_network_id.
NetworkId
0x02 — context_id is a value of network_id.
DvbReserved(u8)
0x03..=0x7F — DVB reserved.
UserDefined(u8)
0x80..=0xFF — User defined.
Implementations§
Trait Implementations§
Source§impl Clone for ContextIdType
impl Clone for ContextIdType
Source§fn clone(&self) -> ContextIdType
fn clone(&self) -> ContextIdType
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 ContextIdType
Source§impl Debug for ContextIdType
impl Debug for ContextIdType
Source§impl Display for ContextIdType
impl Display for ContextIdType
impl Eq for ContextIdType
Source§impl PartialEq for ContextIdType
impl PartialEq for ContextIdType
Source§fn eq(&self, other: &ContextIdType) -> bool
fn eq(&self, other: &ContextIdType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextIdType
impl Serialize for ContextIdType
impl StructuralPartialEq for ContextIdType
Auto Trait Implementations§
impl Freeze for ContextIdType
impl RefUnwindSafe for ContextIdType
impl Send for ContextIdType
impl Sync for ContextIdType
impl Unpin for ContextIdType
impl UnsafeUnpin for ContextIdType
impl UnwindSafe for ContextIdType
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