Skip to main content

BluetoothAdapterTrait

Trait BluetoothAdapterTrait 

Source
pub trait BluetoothAdapterTrait {
    // Required methods
    fn supports_async(&self) -> Option<&dyn AsyncBluetoothAdapterTrait>;
    fn supports_sync(&self) -> Option<&dyn SyncBluetoothAdapterTrait>;
}
Expand description

Common functionality for the bluetooth adapter

Required Methods§

Source

fn supports_async(&self) -> Option<&dyn AsyncBluetoothAdapterTrait>

Returns Some when the async interface is supported

Source

fn supports_sync(&self) -> Option<&dyn SyncBluetoothAdapterTrait>

Returns Some when the sync interface is supported

Implementors§