pub trait BluetoothRfcommConnectableTrait {
// Required method
async fn accept(self) -> Result<BluetoothStream, String>;
}
Expand description
The trait for bluetooth rfcomm objects that can be connected or accepted
Required Methods§
Sourceasync fn accept(self) -> Result<BluetoothStream, String>
async fn accept(self) -> Result<BluetoothStream, String>
Accept a connection from 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.