Enum bluetooth_hci::BdAddrType [−][src]
Potential values for BDADDR
Variants
Public(BdAddr)Public address.
Random(BdAddr)Random address.
Methods
impl BdAddrType[src]
impl BdAddrTypepub 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 Copy for BdAddrType[src]
impl Copy for BdAddrTypeimpl Clone for BdAddrType[src]
impl Clone for BdAddrTypefn clone(&self) -> BdAddrType[src]
fn clone(&self) -> BdAddrTypeReturns 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 Debug for BdAddrType[src]
impl Debug for BdAddrTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for BdAddrType[src]
impl PartialEq for BdAddrTypefn eq(&self, other: &BdAddrType) -> bool[src]
fn eq(&self, other: &BdAddrType) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for BdAddrType
impl Send for BdAddrTypeimpl Sync for BdAddrType
impl Sync for BdAddrType