Enum bluez_async::AddressType
source · pub enum AddressType {
Public,
Random,
}
Expand description
MAC address type of a Bluetooth device.
Variants§
Trait Implementations§
source§impl Clone for AddressType
impl Clone for AddressType
source§fn clone(&self) -> AddressType
fn clone(&self) -> AddressType
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 AddressType
impl Debug for AddressType
source§impl Display for AddressType
impl Display for AddressType
source§impl FromStr for AddressType
impl FromStr for AddressType
source§impl Hash for AddressType
impl Hash for AddressType
source§impl Ord for AddressType
impl Ord for AddressType
source§fn cmp(&self, other: &AddressType) -> Ordering
fn cmp(&self, other: &AddressType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AddressType> for AddressType
impl PartialEq<AddressType> for AddressType
source§fn eq(&self, other: &AddressType) -> bool
fn eq(&self, other: &AddressType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AddressType> for AddressType
impl PartialOrd<AddressType> for AddressType
source§fn partial_cmp(&self, other: &AddressType) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more