Enum stm32wb_hci::types::AdvertisingType
source · #[repr(u8)]pub enum AdvertisingType {
ConnectableUndirected,
ConnectableDirectedHighDutyCycle,
ScannableUndirected,
NonConnectableUndirected,
ConnectableDirectedLowDutyCycle,
}Expand description
The advertising type is used in the
AdvertisingParameters to determine the packet type that
is used for advertising when advertising is enabled.
Variants§
ConnectableUndirected
Connectable undirected advertising
ConnectableDirectedHighDutyCycle
Connectable high duty cycle directed advertising
ScannableUndirected
Scannable undirected advertising
NonConnectableUndirected
Non connectable undirected advertising
ConnectableDirectedLowDutyCycle
Connectable low duty cycle directed advertising
Trait Implementations§
source§impl Clone for AdvertisingType
impl Clone for AdvertisingType
source§fn clone(&self) -> AdvertisingType
fn clone(&self) -> AdvertisingType
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 AdvertisingType
impl Debug for AdvertisingType
source§impl PartialEq<AdvertisingType> for AdvertisingType
impl PartialEq<AdvertisingType> for AdvertisingType
source§fn eq(&self, other: &AdvertisingType) -> bool
fn eq(&self, other: &AdvertisingType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AdvertisingType
impl StructuralPartialEq for AdvertisingType
Auto Trait Implementations§
impl RefUnwindSafe for AdvertisingType
impl Send for AdvertisingType
impl Sync for AdvertisingType
impl Unpin for AdvertisingType
impl UnwindSafe for AdvertisingType
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