Enum bluenrg::gap::BdAddrType [−][src]
Potential values for BDADDR
Variants
Public(BdAddr)
Public address.
Random(BdAddr)
Random address.
Methods
impl BdAddrType
[src]
impl BdAddrType
pub fn into_bytes(&self, bytes: &mut [u8])
[src]
pub fn into_bytes(&self, bytes: &mut [u8])
Writes a BdAddrType
into the given slice. The slice must be exactly the right length (7
bytes).
Trait Implementations
impl Debug for BdAddrType
[src]
impl Debug for BdAddrType
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 BdAddrType
[src]
impl Clone for BdAddrType
fn clone(&self) -> BdAddrType
[src]
fn clone(&self) -> BdAddrType
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<BdAddrType> for BdAddrType
[src]
impl PartialEq<BdAddrType> for BdAddrType
fn eq(&self, other: &BdAddrType) -> bool
[src]
fn eq(&self, other: &BdAddrType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BdAddrType) -> bool
[src]
fn ne(&self, other: &BdAddrType) -> bool
This method tests for !=
.
impl Copy for BdAddrType
[src]
impl Copy for BdAddrType
Auto Trait Implementations
impl Send for BdAddrType
impl Send for BdAddrType
impl Sync for BdAddrType
impl Sync for BdAddrType