pub enum HalConfigParameter {
PublicAddress(BdAddr),
RandomAddress(BdAddr),
Diversifier(u16),
EncryptionKey(EncryptionKey),
Byte(u8),
}
Expand description
Potential values that can be fetched by HAL Read Config Data.
Variants§
PublicAddress(BdAddr)
Bluetooth public address. Corresponds to PublicAddress.
RandomAddress(BdAddr)
Bluetooth random address. Corresponds to RandomAddress.
Diversifier(u16)
Diversifier used to derive CSRK (connection signature resolving key). Corresponds to Diversifier.
EncryptionKey(EncryptionKey)
A requested encryption key. Corresponds to either EncryptionRoot or IdentityRoot.
Byte(u8)
A single-byte value. Corresponds to either LinkLayerOnly or Role.
Trait Implementations§
Source§impl Clone for HalConfigParameter
impl Clone for HalConfigParameter
Source§fn clone(&self) -> HalConfigParameter
fn clone(&self) -> HalConfigParameter
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 HalConfigParameter
impl Debug for HalConfigParameter
Source§impl PartialEq for HalConfigParameter
impl PartialEq for HalConfigParameter
impl StructuralPartialEq for HalConfigParameter
Auto Trait Implementations§
impl Freeze for HalConfigParameter
impl RefUnwindSafe for HalConfigParameter
impl Send for HalConfigParameter
impl Sync for HalConfigParameter
impl Unpin for HalConfigParameter
impl UnwindSafe for HalConfigParameter
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