#[non_exhaustive]pub enum TargetId {
UserDefined {
user_defined_id: u16,
},
Dvb {
target_id_type: TargetIdType,
target_transport_stream_id: Option<u16>,
target_original_network_id: Option<u16>,
target_service_id: Option<u16>,
},
}Expand description
Target identification — EN 300 468 Table 65 inner conditional fields.
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.
UserDefined
target_id_type == 3 — user_defined_id (16 bits).
Dvb
target_id_type != 3 — DVB addressing with optional sub-fields.
Trait Implementations§
impl Eq for TargetId
impl StructuralPartialEq for TargetId
Auto Trait Implementations§
impl Freeze for TargetId
impl RefUnwindSafe for TargetId
impl Send for TargetId
impl Sync for TargetId
impl Unpin for TargetId
impl UnsafeUnpin for TargetId
impl UnwindSafe for TargetId
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