| //! # DBus interface proxy for: `xyz.openbmc_project.State.Decorator.OperationalStatus` |
| //! |
| //! This code was generated by `zbus-xmlgen` `4.0.0` from DBus introspection data. |
| //! Source: `SensorProperties.xml`. |
| //! |
| //! You may prefer to adapt it, instead of using it verbatim. |
| //! |
| //! More information can be found in the |
| //! [Writing a client proxy](https://dbus2.github.io/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::PeerProxy`] |
| //! * [`zbus::fdo::IntrospectableProxy`] |
| //! * [`zbus::fdo::PropertiesProxy`] |
| //! |
| //! …consequently `zbus-xmlgen` did not generate code for the above interfaces. |
| |
| use zbus::dbus_proxy; |
| |
| #[dbus_proxy( |
| interface = "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| assume_defaults = true |
| )] |
| trait OperationalStatus { |
| /// Functional property |
| #[dbus_proxy(property)] |
| fn functional(&self) -> zbus::Result<bool>; |
| } |