#[non_exhaustive]pub enum TimePlanMode {
DwellOnTime,
Bitmap,
GridRevisitSleep,
Reserved(u8),
}Expand description
Time plan mode — ETSI EN 300 468 §5.2.11.5 Table 11g
(docs/en_300_468.md, beamhopping_time_plan_info syntax, lines 706 ff.).
2-bit field. Selects the body structure of a beamhopping plan entry.
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.
DwellOnTime
0b00 — simple dwell/on-time plan (mode 0).
Bitmap
0b01 — bitmap plan (mode 1).
GridRevisitSleep
0b10 — grid/revisit/sleep plan (mode 2).
Reserved(u8)
0b11 — reserved.
Implementations§
Trait Implementations§
Source§impl Clone for TimePlanMode
impl Clone for TimePlanMode
Source§fn clone(&self) -> TimePlanMode
fn clone(&self) -> TimePlanMode
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 TimePlanMode
Source§impl Debug for TimePlanMode
impl Debug for TimePlanMode
Source§impl Display for TimePlanMode
impl Display for TimePlanMode
impl Eq for TimePlanMode
Source§impl PartialEq for TimePlanMode
impl PartialEq for TimePlanMode
Source§fn eq(&self, other: &TimePlanMode) -> bool
fn eq(&self, other: &TimePlanMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TimePlanMode
impl Serialize for TimePlanMode
impl StructuralPartialEq for TimePlanMode
Auto Trait Implementations§
impl Freeze for TimePlanMode
impl RefUnwindSafe for TimePlanMode
impl Send for TimePlanMode
impl Sync for TimePlanMode
impl Unpin for TimePlanMode
impl UnsafeUnpin for TimePlanMode
impl UnwindSafe for TimePlanMode
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