feat: zbus 4.2.1 update
This commit is contained in:
parent
ce9c789fe6
commit
f05789c4ce
42 changed files with 390 additions and 389 deletions
|
|
@ -10,8 +10,8 @@ pub struct BluetoothDevice<'a>(BluetoothDeviceProxy<'a>);
|
|||
|
||||
impl<'a> BluetoothDevice<'a> {
|
||||
pub async fn upcast(&'a self) -> Result<Device<'a>> {
|
||||
DeviceProxy::builder(self.0.connection())
|
||||
.path(self.0.path())?
|
||||
DeviceProxy::builder(self.0.inner().connection())
|
||||
.path(self.0.inner().path())?
|
||||
.build()
|
||||
.await
|
||||
.map(Device::from)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue