pub enum PeerAddrType {
PublicDeviceAddress(BdAddr),
RandomDeviceAddress(BdAddr),
PublicIdentityAddress(BdAddr),
RandomIdentityAddress(BdAddr),
}
Expand description
Possible values for the peer address in the le_create_connection
command.
Variants§
PublicDeviceAddress(BdAddr)
Public Device Address
RandomDeviceAddress(BdAddr)
Random Device Address
PublicIdentityAddress(BdAddr)
Public Identity Address (Corresponds to peer’s Resolvable Private Address). This value shall only be used by the Host if either the Host or the Controller does not support the LE Set Privacy Mode command.
RandomIdentityAddress(BdAddr)
Random (static) Identity Address (Corresponds to peer’s Resolvable Private Address). This value shall only be used by a Host if either the Host or the Controller does not support the LE Set Privacy Mode command.
Implementations§
Source§impl PeerAddrType
impl PeerAddrType
Sourcepub fn copy_into_slice(&self, bytes: &mut [u8])
pub fn copy_into_slice(&self, bytes: &mut [u8])
Trait Implementations§
Source§impl Clone for PeerAddrType
impl Clone for PeerAddrType
Source§fn clone(&self) -> PeerAddrType
fn clone(&self) -> PeerAddrType
Returns a copy 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 PeerAddrType
impl Debug for PeerAddrType
impl Copy for PeerAddrType
Auto Trait Implementations§
impl Freeze for PeerAddrType
impl RefUnwindSafe for PeerAddrType
impl Send for PeerAddrType
impl Sync for PeerAddrType
impl Unpin for PeerAddrType
impl UnwindSafe for PeerAddrType
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