wayle-network 0.1.2

WiFi and wired network management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! NetworkManager Virtual Ethernet Device interface.

use zbus::{proxy, zvariant::OwnedObjectPath};

#[proxy(
    default_service = "org.freedesktop.NetworkManager",
    interface = "org.freedesktop.NetworkManager.Device.Veth"
)]
pub(crate) trait DeviceVeth {
    /// Object path of the peer device of this Veth.
    #[zbus(property)]
    fn peer(&self) -> zbus::Result<OwnedObjectPath>;
}