Trait BluetoothRfcommProfileTrait

Source
pub trait BluetoothRfcommProfileTrait {
    // Required method
    async fn connectable(
        &mut self,
    ) -> Result<BluetoothRfcommConnectable, String>;
}
Expand description

Allows building an object to connect to bluetooth devices

Required Methods§

Source

async fn connectable(&mut self) -> Result<BluetoothRfcommConnectable, String>

Get an object in order to accept a connection from or connect to a bluetooth peer

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl BluetoothRfcommProfileTrait for ProfileHandle

Implementors§