Skip to main content

BluetoothRfcommConnectableSyncTrait

Trait BluetoothRfcommConnectableSyncTrait 

Source
pub trait BluetoothRfcommConnectableSyncTrait {
    // Required method
    fn accept(
        self,
        timeout: Duration,
    ) -> Result<(BluetoothStream, [u8; 6], u8), 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, [u8; 6], u8), String>

Accept a connection from a bluetooth peer

Implementors§