use zbus::dbus_proxy;
#[dbus_proxy(
interface = "fi.w1.wpa_supplicant1",
default_service = "fi.w1.wpa_supplicant1",
default_path = "/fi/w1/wpa_supplicant1"
)]
trait wpa_supplicant1 {
fn create_interface(
&self,
args: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>,
) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
fn expect_disconnect(&self) -> zbus::Result<()>;
fn get_interface(&self, ifname: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
fn remove_interface(&self, path: &zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
#[dbus_proxy(signal)]
fn interface_added(
&self,
path: zbus::zvariant::ObjectPath<'_>,
properties: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>,
) -> zbus::Result<()>;
#[dbus_proxy(signal)]
fn interface_removed(&self, path: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
#[dbus_proxy(signal)]
fn properties_changed(
&self,
properties: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>,
) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn capabilities(&self) -> zbus::Result<Vec<String>>;
#[dbus_proxy(property)]
fn debug_level(&self) -> zbus::Result<String>;
#[dbus_proxy(property)]
fn set_debug_level(&self, value: &str) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn debug_show_keys(&self) -> zbus::Result<bool>;
#[dbus_proxy(property)]
fn set_debug_show_keys(&self, value: bool) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn debug_timestamp(&self) -> zbus::Result<bool>;
#[dbus_proxy(property)]
fn set_debug_timestamp(&self, value: bool) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn eap_methods(&self) -> zbus::Result<Vec<String>>;
#[dbus_proxy(property)]
fn interfaces(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>;
}