bluez_generated/
gattmanager1.rs1#[allow(unused_imports)]
3use dbus::arg;
4use dbus::nonblock;
5
6pub trait OrgBluezGattManager1 {
7 fn register_application(
8 &self,
9 application: dbus::Path,
10 options: arg::PropMap,
11 ) -> nonblock::MethodReply<()>;
12 fn unregister_application(&self, application: dbus::Path) -> nonblock::MethodReply<()>;
13}
14
15pub const ORG_BLUEZ_GATT_MANAGER1_NAME: &str = "org.bluez.GattManager1";
16
17impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattManager1
18 for nonblock::Proxy<'a, C>
19{
20 fn register_application(
21 &self,
22 application: dbus::Path,
23 options: arg::PropMap,
24 ) -> nonblock::MethodReply<()> {
25 self.method_call(
26 "org.bluez.GattManager1",
27 "RegisterApplication",
28 (application, options),
29 )
30 }
31
32 fn unregister_application(&self, application: dbus::Path) -> nonblock::MethodReply<()> {
33 self.method_call(
34 "org.bluez.GattManager1",
35 "UnregisterApplication",
36 (application,),
37 )
38 }
39}