1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#[allow(unused_imports)]
use dbus::arg;
use dbus::nonblock;
pub trait OrgBluezNetworkServer1 {
fn register(&self, uuid: &str, bridge: &str) -> nonblock::MethodReply<()>;
fn unregister(&self, uuid: &str) -> nonblock::MethodReply<()>;
}
pub const ORG_BLUEZ_NETWORK_SERVER1_NAME: &str = "org.bluez.NetworkServer1";
impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezNetworkServer1
for nonblock::Proxy<'a, C>
{
fn register(&self, uuid: &str, bridge: &str) -> nonblock::MethodReply<()> {
self.method_call("org.bluez.NetworkServer1", "Register", (uuid, bridge))
}
fn unregister(&self, uuid: &str) -> nonblock::MethodReply<()> {
self.method_call("org.bluez.NetworkServer1", "Unregister", (uuid,))
}
}