Enum bluenrg::AdvertisingType [−][src]
#[repr(u8)]pub enum AdvertisingType { ConnectableUndirected, ConnectableDirectedHighDutyCycle, ScannableUndirected, NonConnectableUndirected, ConnectableDirectedLowDutyCycle, }
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
impl Debug for AdvertisingType
[src]
impl Debug for AdvertisingType
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for AdvertisingType
[src]
impl Clone for AdvertisingType
fn clone(&self) -> AdvertisingType
[src]
fn clone(&self) -> AdvertisingType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq<AdvertisingType> for AdvertisingType
[src]
impl PartialEq<AdvertisingType> for AdvertisingType
fn eq(&self, other: &AdvertisingType) -> bool
[src]
fn eq(&self, other: &AdvertisingType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for AdvertisingType
[src]
impl Copy for AdvertisingType
Auto Trait Implementations
impl Send for AdvertisingType
impl Send for AdvertisingType
impl Sync for AdvertisingType
impl Sync for AdvertisingType