// SPDX-License-Identifier: MPL-2.0 //! # DBus interface proxies for: `org.freedesktop.NetworkManager.Device.Wireless` //! //! This code was generated by `zbus-xmlgen` `2.0.0` from DBus introspection data. //! Source: `Interface '/org/freedesktop/NetworkManager/Devices/3' from service 'org.freedesktop.NetworkManager' on system bus`. //! //! You may prefer to adapt it, instead of using it verbatim. //! //! More information can be found in the //! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html) //! section of the zbus documentation. //! //! This DBus object implements //! [standard DBus interfaces](https://dbus.freedesktop.org/doc/dbus-specification.html), //! (`org.freedesktop.DBus.*`) for which the following zbus proxies can be used: //! //! * [`zbus::fdo::PropertiesProxy`] //! * [`zbus::fdo::IntrospectableProxy`] //! * [`zbus::fdo::PeerProxy`] //! //! …consequently `zbus-xmlgen` did not generate code for the above interfaces. use zbus::dbus_proxy; #[dbus_proxy(interface = "org.freedesktop.NetworkManager.Device.Wireless")] pub trait Wireless { /// GetAccessPoints method fn get_access_points(&self) -> zbus::Result>; /// GetAllAccessPoints method fn get_all_access_points(&self) -> zbus::Result>; /// RequestScan method fn request_scan( &self, options: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>, ) -> zbus::Result<()>; /// AccessPointAdded signal #[dbus_proxy(signal)] fn access_point_added(&self, access_point: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>; /// AccessPointRemoved signal #[dbus_proxy(signal)] fn access_point_removed( &self, access_point: zbus::zvariant::ObjectPath<'_>, ) -> zbus::Result<()>; /// AccessPoints property #[dbus_proxy(property)] fn access_points(&self) -> zbus::Result>; /// ActiveAccessPoint property #[dbus_proxy(property)] fn active_access_point(&self) -> zbus::Result; /// Bitrate property #[dbus_proxy(property)] fn bitrate(&self) -> zbus::Result; /// HwAddress property #[dbus_proxy(property)] fn hw_address(&self) -> zbus::Result; /// LastScan property #[dbus_proxy(property)] fn last_scan(&self) -> zbus::Result; /// Mode property #[dbus_proxy(property)] fn mode(&self) -> zbus::Result; /// PermHwAddress property #[dbus_proxy(property)] fn perm_hw_address(&self) -> zbus::Result; /// WirelessCapabilities property #[dbus_proxy(property)] fn wireless_capabilities(&self) -> zbus::Result; }