pub enum BluetoothAdapter {
Bluez(BluetoothHandler),
}Expand description
Represents a bluetooth adapter that communicates to bluetooth devices
Variants§
Bluez(BluetoothHandler)
On linux, bluetooth adapter using the bluez library
Trait Implementations§
Source§impl BluetoothAdapterTrait for BluetoothAdapter
impl BluetoothAdapterTrait for BluetoothAdapter
Source§fn supports_async(&mut self) -> Option<&mut dyn AsyncBluetoothAdapterTrait>
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>
fn supports_sync(&mut self) -> Option<&mut dyn SyncBluetoothAdapterTrait>
Returns Some when the sync interface is supported
Auto Trait Implementations§
impl Freeze for BluetoothAdapter
impl !RefUnwindSafe for BluetoothAdapter
impl Send for BluetoothAdapter
impl Sync for BluetoothAdapter
impl Unpin for BluetoothAdapter
impl UnsafeUnpin for BluetoothAdapter
impl !UnwindSafe for BluetoothAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more