pub async fn find_devices(bt_session: &BluetoothSession) -> Result<Vec<DeviceInfo>, Error> {
    let devices = bt_session.get_devices().await?;
    Ok(devices
        .into_iter()
        .filter(BBQDevice::is_compatible)
        .collect())
}
/// Return all compatible BBQ thermometer devices currently known by the system.
Return all compatible BBQ thermometer devices currently known by the system.
Return all compatible BBQ thermometer devices currently known by the system .
pub async fn find_devices(bt_session: &BluetoothSession) -> Result<Vec<DeviceInfo>, Error> {
    let devices = bt_session.get_devices().await?;
    Ok(devices
        .into_iter()
        .filter(BBQDevice::is_compatible)
        .collect())
}
pub async fn find_devices ( bt_session : & BluetoothSession ) -> Result < Vec < DeviceInfo > , Error > { let devices = bt_session . get_devices ( ) . await ? ; Ok ( devices . into_iter ( ) . filter ( BBQDevice :: is_compatible ) . collect ( ) ) }
Return all compatible BBQ thermometer devices currently known by the system.
Return all compatible BBQ thermometer devices currently known by the system .
bt_session
&BluetoothSession
bt_session
&BluetoothSession