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§
Sourceasync fn connectable(&mut self) -> Result<BluetoothRfcommConnectable, String>
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.