nmdbus 1.37.3

Dbus bindings to the network manager.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This code was autogenerated with dbus-codegen-rust
use dbus as dbus;
#[allow(unused_imports)]
use dbus::arg;
use dbus::blocking;

pub trait DeviceVeth {
    fn peer(&self) -> Result<dbus::Path<'static>, dbus::Error>;
}

impl<'a, T: blocking::BlockingSender, C: ::std::ops::Deref<Target=T>> DeviceVeth for blocking::Proxy<'a, C> {

    fn peer(&self) -> Result<dbus::Path<'static>, dbus::Error> {
        <Self as blocking::stdintf::org_freedesktop_dbus::Properties>::get(&self, "org.freedesktop.NetworkManager.Device.Veth", "Peer")
    }
}