#[non_exhaustive]pub enum ApplicationType {
DvbJ,
DvbHtml,
HbbTv,
OipfDae,
Reserved(u16),
UserDefined(u16),
}Expand description
Application type — ETSI TS 102 809 §5.2.4.2 Tables 2-3 (application_type).
15-bit field identifying the application environment. Verified entries from the DVB Services registry.
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.
DvbJ
0x0001 — DVB-J.
DvbHtml
0x0002 — DVB-HTML.
HbbTv
0x0010 — HbbTV.
OipfDae
0x0011 — OIPF DAE.
Reserved(u16)
Other values below 0x8000 — reserved for DVB use.
UserDefined(u16)
0x8000..0xFFFF — user defined.
Implementations§
Trait Implementations§
Source§impl Clone for ApplicationType
impl Clone for ApplicationType
Source§fn clone(&self) -> ApplicationType
fn clone(&self) -> ApplicationType
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 ApplicationType
Source§impl Debug for ApplicationType
impl Debug for ApplicationType
impl Eq for ApplicationType
Source§impl PartialEq for ApplicationType
impl PartialEq for ApplicationType
Source§fn eq(&self, other: &ApplicationType) -> bool
fn eq(&self, other: &ApplicationType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApplicationType
impl Serialize for ApplicationType
impl StructuralPartialEq for ApplicationType
Auto Trait Implementations§
impl Freeze for ApplicationType
impl RefUnwindSafe for ApplicationType
impl Send for ApplicationType
impl Sync for ApplicationType
impl Unpin for ApplicationType
impl UnsafeUnpin for ApplicationType
impl UnwindSafe for ApplicationType
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