Struct rustable::BluetoothService[][src]

pub struct BluetoothService { /* fields omitted */ }
Expand description

BluetoothService is created to interact with Bluez daemon over DBus.

Implementations

Create a new BluetoothService struct by reusing an existing async_rustbus::RpcConn.

Creates a new BluetoothService and setup a DBus client to interact with Bluez.

Get an Adapter corresponding to the idx given.

On most systems index will be zero.

Get a reference to Arc<async_rustbus::RpcConn> used to communicate with the Bluez daemon.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.