Enum ieee802154::mac::beacon::BeaconOrder
source · [−]pub enum BeaconOrder {
BeaconOrder(u8),
OnDemand,
}
Expand description
Beacon order is used to calculate the beacon interval
Variants
BeaconOrder(u8)
Used to calculate at which interval beacons are sent
Beacon interval = BaseSuperframeDuration × (2 ^ BeaconOrder)
OnDemand
Beacon are only sent on demand
Trait Implementations
sourceimpl Clone for BeaconOrder
impl Clone for BeaconOrder
sourcefn clone(&self) -> BeaconOrder
fn clone(&self) -> BeaconOrder
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 BeaconOrder
impl Debug for BeaconOrder
sourceimpl From<BeaconOrder> for u8
impl From<BeaconOrder> for u8
sourcefn from(value: BeaconOrder) -> Self
fn from(value: BeaconOrder) -> Self
Convert beacon order to u8
sourceimpl Hash for BeaconOrder
impl Hash for BeaconOrder
sourceimpl PartialEq<BeaconOrder> for BeaconOrder
impl PartialEq<BeaconOrder> for BeaconOrder
sourcefn eq(&self, other: &BeaconOrder) -> bool
fn eq(&self, other: &BeaconOrder) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for BeaconOrder
impl Eq for BeaconOrder
impl StructuralEq for BeaconOrder
impl StructuralPartialEq for BeaconOrder
Auto Trait Implementations
impl RefUnwindSafe for BeaconOrder
impl Send for BeaconOrder
impl Sync for BeaconOrder
impl Unpin for BeaconOrder
impl UnwindSafe for BeaconOrder
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