Skip to main content

BluetoothL2capConnectableSyncTrait

Trait BluetoothL2capConnectableSyncTrait 

Source
pub trait BluetoothL2capConnectableSyncTrait {
    // Required method
    fn accept(self, timeout: Duration) -> Result<BluetoothStream, String>;
}
Expand description

The trait for bluetooth rfcomm objects that can be connected or accepted

Required Methods§

Source

fn accept(self, timeout: Duration) -> Result<BluetoothStream, String>

Accept a connection from a bluetooth peer

Implementors§