Enum ieee802154::mac::beacon::SuperframeOrder
source · [−]pub enum SuperframeOrder {
SuperframeOrder(u8),
Inactive,
}
Expand description
Superframe order, amount of time during wich this superframe is active
Variants
SuperframeOrder(u8)
Ammount of time that the superframe is active
superframe duration = base superframe duration × (2 ^ superframe order)
Inactive
No superframes are sent
Trait Implementations
sourceimpl Clone for SuperframeOrder
impl Clone for SuperframeOrder
sourcefn clone(&self) -> SuperframeOrder
fn clone(&self) -> SuperframeOrder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SuperframeOrder
impl Debug for SuperframeOrder
sourceimpl From<SuperframeOrder> for u8
impl From<SuperframeOrder> for u8
sourcefn from(value: SuperframeOrder) -> Self
fn from(value: SuperframeOrder) -> Self
Convert superframe order to u8
sourceimpl From<u8> for SuperframeOrder
impl From<u8> for SuperframeOrder
sourceimpl Hash for SuperframeOrder
impl Hash for SuperframeOrder
sourceimpl PartialEq<SuperframeOrder> for SuperframeOrder
impl PartialEq<SuperframeOrder> for SuperframeOrder
sourcefn eq(&self, other: &SuperframeOrder) -> bool
fn eq(&self, other: &SuperframeOrder) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for SuperframeOrder
impl Eq for SuperframeOrder
impl StructuralEq for SuperframeOrder
impl StructuralPartialEq for SuperframeOrder
Auto Trait Implementations
impl RefUnwindSafe for SuperframeOrder
impl Send for SuperframeOrder
impl Sync for SuperframeOrder
impl Unpin for SuperframeOrder
impl UnwindSafe for SuperframeOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more