Skip to main content

BluetoothAdapterTrait

Trait BluetoothAdapterTrait 

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

Common functionality for the bluetooth adapter

Required Methods§

Source

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

Returns Some when the async interface is supported

Source

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

Returns Some when the sync interface is supported

Implementors§