pub enum RandomKind {
Static,
Resolvable,
NonResolvable,
Reserved,
}Expand description
What a random address is, from its two most significant bits.
Variants§
Static
11: static, the same until the device power cycles or chooses to change it.
Resolvable
01: resolvable private address (RPA), resolved with the device’s IRK.
NonResolvable
00: non-resolvable private address.
Reserved
10: reserved.
Trait Implementations§
Source§impl Clone for RandomKind
impl Clone for RandomKind
impl Copy for RandomKind
Source§impl Debug for RandomKind
impl Debug for RandomKind
impl Eq for RandomKind
Source§impl PartialEq for RandomKind
impl PartialEq for RandomKind
impl StructuralPartialEq for RandomKind
Auto Trait Implementations§
impl Forget for RandomKind
impl Freeze for RandomKind
impl Move for RandomKind
impl RefUnwindSafe for RandomKind
impl Send for RandomKind
impl Sync for RandomKind
impl Unpin for RandomKind
impl UnsafeUnpin for RandomKind
impl UnwindSafe for RandomKind
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