#[repr(u8)]pub enum SuperframeOrder {
Order(u8),
Inactive,
}Expand description
The lenght of the active portion of the superframe.
Variants§
Order(u8)
The superframe duration is calculated with:
base_super_frame_duration * 2^{superframe_order}
Inactive
The superframe is inactive after the the beacon.
Trait Implementations§
Source§impl Clone for SuperframeOrder
impl Clone for SuperframeOrder
Source§fn clone(&self) -> SuperframeOrder
fn clone(&self) -> SuperframeOrder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SuperframeOrder
impl Debug for SuperframeOrder
Source§impl From<SuperframeOrder> for u8
impl From<SuperframeOrder> for u8
Source§fn from(value: SuperframeOrder) -> Self
fn from(value: SuperframeOrder) -> Self
Converts to this type from the input type.
Source§impl From<u8> for SuperframeOrder
impl From<u8> for SuperframeOrder
Source§impl PartialEq for SuperframeOrder
impl PartialEq for SuperframeOrder
impl Copy for SuperframeOrder
impl Eq for SuperframeOrder
impl StructuralPartialEq for SuperframeOrder
Auto Trait Implementations§
impl Freeze for SuperframeOrder
impl RefUnwindSafe for SuperframeOrder
impl Send for SuperframeOrder
impl Sync for SuperframeOrder
impl Unpin for SuperframeOrder
impl UnwindSafe for SuperframeOrder
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