Enum btmgmt_packet::Address [−][src]
pub enum Address {
BrEdr(BdAddr),
LePublic(PublicDeviceAddress),
LeRandom(RandomDeviceAddress),
}
Expand description
Bluetooth Device Address
Variants
BrEdr(BdAddr)
Tuple Fields
0: BdAddr
Classic BR/EDR Address
LePublic(PublicDeviceAddress)
Tuple Fields
LE Public Device Address
LeRandom(RandomDeviceAddress)
Tuple Fields
LE Random Device Address
Implementations
Construct Classic BR/EDR Address from str.
Construct LE Public Device Address from str.
ref BLUETOOTH CORE SPECIFICATION | Vol 6, Part B | 1.3 DEVICE ADDRESS
Construct LE Public Device Address from str.
ref BLUETOOTH CORE SPECIFICATION | Vol 6, Part B | 1.3 DEVICE ADDRESS
Unwrap inner BdAddr.
Get address type.
Trait Implementations
fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC
) where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = Address>,
fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC
) where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = Address>,
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Performs the conversion.
Performs the conversion.
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70
) -> Self where
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = Address>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70
) -> Self where
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = Address>,
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Address
impl UnwindSafe for Address
Blanket Implementations
Mutably borrows from an owned value. Read more