#[non_exhaustive]pub enum ChangeType {
MessageOnly,
MinorDefault,
MinorMultiplexRemoved,
MinorServiceChanged,
MinorReserved(u8),
MajorDefault,
MajorFrequencyChanged,
MajorCoverageChanged,
MajorMultiplexAdded,
MajorReserved(u8),
}Expand description
Change type — ETSI EN 300 468 §6.4.10 Table 151
(docs/en_300_468.md, Table 151 — Change type coding).
4-bit field. Classifies the nature of the network change event.
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.
MessageOnly
0 — message only.
MinorDefault
1 — minor - default.
MinorMultiplexRemoved
2 — minor - multiplex removed.
MinorServiceChanged
3 — minor - service changed.
MinorReserved(u8)
4–7 — reserved for future use for other minor changes.
MajorDefault
8 — major - default.
MajorFrequencyChanged
9 — major - multiplex frequency changed.
MajorCoverageChanged
10 — major - multiplex coverage changed.
MajorMultiplexAdded
11 — major - multiplex added.
MajorReserved(u8)
12–15 — reserved for future use for other major changes.
Implementations§
Trait Implementations§
Source§impl Clone for ChangeType
impl Clone for ChangeType
Source§fn clone(&self) -> ChangeType
fn clone(&self) -> ChangeType
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 ChangeType
Source§impl Debug for ChangeType
impl Debug for ChangeType
Source§impl Display for ChangeType
impl Display for ChangeType
impl Eq for ChangeType
Source§impl PartialEq for ChangeType
impl PartialEq for ChangeType
Source§fn eq(&self, other: &ChangeType) -> bool
fn eq(&self, other: &ChangeType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChangeType
impl Serialize for ChangeType
impl StructuralPartialEq for ChangeType
Auto Trait Implementations§
impl Freeze for ChangeType
impl RefUnwindSafe for ChangeType
impl Send for ChangeType
impl Sync for ChangeType
impl Unpin for ChangeType
impl UnsafeUnpin for ChangeType
impl UnwindSafe for ChangeType
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