pub trait BluetoothDeviceSyncTrait {
// Required methods
fn get_uuids(&mut self) -> Result<Vec<BluetoothUuid>, Error>;
fn get_name(&self) -> Result<String, Error>;
fn get_pair_state(&self) -> Result<PairingStatus, Error>;
}Expand description
Holds the sync functions for a bluetooth device
Required Methods§
Sourcefn get_uuids(&mut self) -> Result<Vec<BluetoothUuid>, Error>
fn get_uuids(&mut self) -> Result<Vec<BluetoothUuid>, Error>
Get all known uuids for this device
Sourcefn get_pair_state(&self) -> Result<PairingStatus, Error>
fn get_pair_state(&self) -> Result<PairingStatus, Error>
Retrieve the device pairing status