pub trait BluetoothSocketTrait {
// Required methods
fn is_connected(&self) -> Result<bool, Error>;
fn connect(&mut self) -> Result<(), Error>;
}Expand description
The common functions for all bluetooth rfcomm sockets
Required Methods§
Sourcefn is_connected(&self) -> Result<bool, Error>
fn is_connected(&self) -> Result<bool, Error>
Is the socket connected