Enum flic_rust_client::BdAddrType
source · #[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 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 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§fn eq(&self, other: &BdAddrType) -> bool
fn eq(&self, other: &BdAddrType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for BdAddrType
impl TryFrom<u8> for BdAddrType
§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
type Primitive = u8
type Error = TryFromPrimitiveError<BdAddrType>
const NAME: &'static str = "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 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