#[repr(u8)]pub enum AdvertisingType {
ConnectableUndirected = 0,
ConnectableDirectedHighDutyCycle = 1,
ScannableUndirected = 2,
NonConnectableUndirected = 3,
ConnectableDirectedLowDutyCycle = 4,
}
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 = 0
Connectable undirected advertising
ConnectableDirectedHighDutyCycle = 1
Connectable high duty cycle directed advertising
ScannableUndirected = 2
Scannable undirected advertising
NonConnectableUndirected = 3
Non connectable undirected advertising
ConnectableDirectedLowDutyCycle = 4
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 duplicate 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 for AdvertisingType
impl PartialEq for AdvertisingType
impl Copy for AdvertisingType
impl StructuralPartialEq for AdvertisingType
Auto Trait Implementations§
impl Freeze for AdvertisingType
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