[][src]Enum bluetooth_hci::BdAddrType

pub enum BdAddrType {
    Public(BdAddr),
    Random(BdAddr),
}

Potential values for BDADDR

Variants

Public(BdAddr)

Public address.

Random(BdAddr)

Random address.

Implementations

impl BdAddrType[src]

pub fn copy_into_slice(&self, bytes: &mut [u8])[src]

Writes a BdAddrType into the given slice. The slice must be exactly the right length (7 bytes).

Trait Implementations

impl Clone for BdAddrType[src]

impl Copy for BdAddrType[src]

impl Debug for BdAddrType[src]

impl PartialEq<BdAddrType> for BdAddrType[src]

impl StructuralPartialEq for BdAddrType[src]

Auto Trait Implementations

impl Send for BdAddrType

impl Sync for BdAddrType

impl Unpin for BdAddrType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.