Enum bluez_async::BluetoothEvent [−][src]
pub enum BluetoothEvent {
Adapter {
id: AdapterId,
event: AdapterEvent,
},
Device {
id: DeviceId,
event: DeviceEvent,
},
Characteristic {
id: CharacteristicId,
event: CharacteristicEvent,
},
}
Expand description
An event relating to a Bluetooth device or adapter.
Variants
An event related to a Bluetooth adapter.
Fields of Adapter
id: AdapterId
The ID of the Bluetooth adapter in question.
event: AdapterEvent
Details of the specific event.
An event related to a Bluetooth device.
Fields of Device
id: DeviceId
The ID of the Bluetooth device in question.
event: DeviceEvent
Details of the specific event.
An event related to a GATT characteristic of a Bluetooth device.
Fields of Characteristic
id: CharacteristicId
The ID of the GATT characteristic in question.
event: CharacteristicEvent
Details of the specific event.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BluetoothEvent
impl Send for BluetoothEvent
impl Sync for BluetoothEvent
impl Unpin for BluetoothEvent
impl UnwindSafe for BluetoothEvent
Blanket Implementations
Mutably borrows from an owned value. Read more