#![allow(non_snake_case)] //! # D-Bus interface proxy for: `org.bluez.Device1` //! //! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data. //! Source: `Interface '/org/bluez/hci0/dev_14_3F_A6_A8_16_68' from service 'org.bluez' 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] section of the zbus //! documentation. //! //! This type implements the [D-Bus standard interfaces], (`org.freedesktop.DBus.*`) for which the //! following zbus API can be used: //! //! * [`zbus::fdo::IntrospectableProxy`] //! * [`zbus::fdo::PropertiesProxy`] //! //! Consequently `zbus-xmlgen` did not generate code for the above interfaces. //! //! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html //! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces, use zbus::proxy; #[proxy(interface = "org.bluez.Device1", default_service = "org.bluez")] pub trait Device1 { /// CancelPairing method fn cancel_pairing(&self) -> zbus::Result<()>; /// Connect method fn connect(&self) -> zbus::Result<()>; /// ConnectProfile method fn connect_profile(&self, UUID: &str) -> zbus::Result<()>; /// Disconnect method fn disconnect(&self) -> zbus::Result<()>; /// DisconnectProfile method fn disconnect_profile(&self, UUID: &str) -> zbus::Result<()>; /// Pair method fn pair(&self) -> zbus::Result<()>; /// Adapter property #[zbus(property)] fn adapter(&self) -> zbus::Result; /// Address property #[zbus(property)] fn address(&self) -> zbus::Result; /// AddressType property #[zbus(property)] fn address_type(&self) -> zbus::Result; /// AdvertisingData property #[zbus(property)] fn advertising_data( &self, ) -> zbus::Result>; /// AdvertisingFlags property #[zbus(property)] fn advertising_flags(&self) -> zbus::Result>; /// Alias property #[zbus(property)] fn alias(&self) -> zbus::Result; #[zbus(property)] fn set_alias(&self, value: &str) -> zbus::Result<()>; /// Appearance property #[zbus(property)] fn appearance(&self) -> zbus::Result; /// Blocked property #[zbus(property)] fn blocked(&self) -> zbus::Result; #[zbus(property)] fn set_blocked(&self, value: bool) -> zbus::Result<()>; /// Class property #[zbus(property)] fn class(&self) -> zbus::Result; /// Connected property #[zbus(property)] fn connected(&self) -> zbus::Result; /// Icon property #[zbus(property)] fn icon(&self) -> zbus::Result; /// LegacyPairing property #[zbus(property)] fn legacy_pairing(&self) -> zbus::Result; /// ManufacturerData property #[zbus(property)] fn manufacturer_data( &self, ) -> zbus::Result>; /// Modalias property #[zbus(property)] fn modalias(&self) -> zbus::Result; /// Name property #[zbus(property)] fn name(&self) -> zbus::Result; /// Paired property #[zbus(property)] fn paired(&self) -> zbus::Result; /// RSSI property #[zbus(property, name = "RSSI")] fn rssi(&self) -> zbus::Result; /// ServiceData property #[zbus(property)] fn service_data( &self, ) -> zbus::Result>; /// ServicesResolved property #[zbus(property)] fn services_resolved(&self) -> zbus::Result; /// Trusted property #[zbus(property)] fn trusted(&self) -> zbus::Result; #[zbus(property)] fn set_trusted(&self, value: bool) -> zbus::Result<()>; /// TxPower property #[zbus(property)] fn tx_power(&self) -> zbus::Result; /// UUIDs property #[zbus(property, name = "UUIDs")] fn uuids(&self) -> zbus::Result>; /// WakeAllowed property #[zbus(property)] fn wake_allowed(&self) -> zbus::Result; #[zbus(property)] fn set_wake_allowed(&self, value: bool) -> zbus::Result<()>; }