#[repr(u8)]pub enum BdAddrType {
PublicBdAddrType = 0,
RandomBdAddrType = 1,
}
Variants§
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 From<BdAddrType> for u8
impl From<BdAddrType> for u8
Source§fn from(enum_value: BdAddrType) -> Self
fn from(enum_value: BdAddrType) -> Self
Converts to this type from the input type.
Source§impl Hash for BdAddrType
impl Hash for BdAddrType
Source§impl PartialEq for BdAddrType
impl PartialEq for BdAddrType
Source§impl TryFrom<u8> for BdAddrType
impl TryFrom<u8> for BdAddrType
Source§type Error = TryFromPrimitiveError<BdAddrType>
type Error = TryFromPrimitiveError<BdAddrType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BdAddrType
impl TryFromPrimitive for BdAddrType
const NAME: &'static str = "BdAddrType"
type Primitive = u8
type Error = TryFromPrimitiveError<BdAddrType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BdAddrType
impl Eq 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