You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: `IAsyncOperation<GattCommunicationStatus>` is not a future
--> src\winrtble\ble\characteristic.rs:72:32
|
72 | let result = operation.await?;
| -^^^^^
| ||
| |`IAsyncOperation<GattCommunicationStatus>` is not a future
| help: remove the `.await`
|
= help: the trait `futures::Future` is not implemented for `IAsyncOperation<GattCommunicationStatus>`, which is required by `IAsyncOperation<GattCommunicationStatus>: std::future::IntoFuture`
= note: IAsyncOperation<GattCommunicationStatus> must be a future or must implement `IntoFuture` to be awaited
= note: required for `IAsyncOperation<GattCommunicationStatus>` to implement `std::future::IntoFuture
I looked through the CHANGELOG but it's rather dense for this version update and I'm not sure what I'm missing.
Our last library version was released using v0.52, and updating to v0.57 still seems to work, it's just moving to v0.58 that seems to be causing this issue.
Crate manifest
No response
Crate code
No response
The text was updated successfully, but these errors were encountered:
Summary
Trying to update to 0.58 in https://github.com/deviceplug/btleplug, now getting errors on all async calls to the WinRT Bluetooth APIs:
I looked through the CHANGELOG but it's rather dense for this version update and I'm not sure what I'm missing.
Our last library version was released using v0.52, and updating to v0.57 still seems to work, it's just moving to v0.58 that seems to be causing this issue.
Crate manifest
No response
Crate code
No response
The text was updated successfully, but these errors were encountered: