use std::collections::HashMap;
use zbus::proxy;
use zbus::zvariant::Value;
#[proxy(
interface = "org.freedesktop.NetworkManager.PPP",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait PPP {
fn need_secrets(&self) -> zbus::Result<(String, String)>;
fn set_ipv4_config(&self, config: HashMap<&str, Value<'_>>) -> zbus::Result<()>;
fn set_ipv6_config(&self, config: HashMap<&str, Value<'_>>) -> zbus::Result<()>;
fn set_state(&self, state: u32) -> zbus::Result<()>;
fn set_ifindex(&self, ifindex: i32) -> zbus::Result<()>;
}