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§
Source§impl Clone for BeaconOrder
impl Clone for BeaconOrder
Source§fn clone(&self) -> BeaconOrder
fn clone(&self) -> BeaconOrder
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 BeaconOrder
Source§impl Debug for BeaconOrder
impl Debug for BeaconOrder
impl Eq for BeaconOrder
Source§impl From<u8> for BeaconOrder
impl From<u8> for BeaconOrder
Source§fn from(value: u8) -> BeaconOrder
fn from(value: u8) -> BeaconOrder
Convert u8 to beacon order
Source§impl Hash for BeaconOrder
impl Hash for BeaconOrder
Source§impl PartialEq for BeaconOrder
impl PartialEq for BeaconOrder
impl StructuralPartialEq for BeaconOrder
Auto Trait Implementations§
impl Freeze for BeaconOrder
impl RefUnwindSafe for BeaconOrder
impl Send for BeaconOrder
impl Sync for BeaconOrder
impl Unpin for BeaconOrder
impl UnsafeUnpin for BeaconOrder
impl UnwindSafe for BeaconOrder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more