Struct rustable::Adapter [−][src]
pub struct Adapter { /* fields omitted */ }
Expand description
This struct represents a local Bluetooth adapter.
It can be used to query and configure the local adapter, get remote Device
s, and host local GATT services.
Implementations
Create an Adapter
to interface with a specific Bluetooth adapter
using an existing async_rustbus::RpcConn
Create an Adapter
to interface with a specific Bluetooth adapter.
Turn the Bluetooth adapter on (true
) or off.
Check if the device is powered on (true
) or off.
Get the DBus ObjectPath
of this remote device.
Get the MAC
s of remote devices that the adapter knows of.
This will included connected devices, paired devices, and visible devices (if discovery is enabled).
Auto Trait Implementations
impl !RefUnwindSafe for Adapter
impl !UnwindSafe for Adapter