Struct rubble::link::device_address::DeviceAddress [−][src]
pub struct DeviceAddress {
bytes: [u8; 6],
kind: AddressKind,
}
Expand description
A Bluetooth device address.
Fields
bytes: [u8; 6]
kind: AddressKind
Implementations
Create a new device address from 6 raw Bytes and an address kind specifier.
The bytes
array contains the address Bytes as they are sent over the air (LSB first).
Returns the address kind.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceAddress
impl Send for DeviceAddress
impl Sync for DeviceAddress
impl Unpin for DeviceAddress
impl UnwindSafe for DeviceAddress
Blanket Implementations
Mutably borrows from an owned value. Read more