wayle-network 0.1.2

WiFi and wired network management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! NetworkManager DHCP4 Configuration interface.

use std::collections::HashMap;

use zbus::{proxy, zvariant::Value as Variant};

#[proxy(
    default_service = "org.freedesktop.NetworkManager",
    interface = "org.freedesktop.NetworkManager.DHCP4Config"
)]
pub(crate) trait DHCP4Config {
    /// Configuration options returned by a DHCP server.
    #[zbus(property)]
    fn options(&self) -> zbus::Result<HashMap<String, Variant<'_>>>;
}