pub enum BdAddrType {
Public(BdAddr),
Random(BdAddr),
}
Expand description
Potential values for BDADDR
Variants§
Implementations§
Source§impl BdAddrType
impl BdAddrType
Sourcepub fn copy_into_slice(&self, bytes: &mut [u8])
pub fn copy_into_slice(&self, bytes: &mut [u8])
Writes a BdAddrType
into the given slice. The slice must be exactly the right length (7
bytes).
Trait Implementations§
Source§impl Clone for BdAddrType
impl Clone for BdAddrType
Source§fn clone(&self) -> BdAddrType
fn clone(&self) -> BdAddrType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BdAddrType
impl Debug for BdAddrType
Source§impl PartialEq for BdAddrType
impl PartialEq for BdAddrType
impl Copy for BdAddrType
impl StructuralPartialEq for BdAddrType
Auto Trait Implementations§
impl Freeze for BdAddrType
impl RefUnwindSafe for BdAddrType
impl Send for BdAddrType
impl Sync for BdAddrType
impl Unpin for BdAddrType
impl UnwindSafe for BdAddrType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more