Struct bluez_async::DeviceId
source · pub struct DeviceId { /* private fields */ }
Expand description
Opaque identifier for a Bluetooth device which the system knows about. This includes a reference to which Bluetooth adapter it was discovered on, which means that any attempt to connect to it will also happen from that adapter (in case the system has more than one).
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for DeviceId
impl<'de> Deserialize<'de> for DeviceId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for DeviceId
impl Ord for DeviceId
source§impl PartialEq<DeviceId> for DeviceId
impl PartialEq<DeviceId> for DeviceId
source§impl PartialOrd<DeviceId> for DeviceId
impl PartialOrd<DeviceId> for DeviceId
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