Skip to main content

cecd_proxy/
message_handler1.rs

1//! # D-Bus interface proxy for: `com.steampowered.CecDaemon1.MessageHandler1`
2//!
3//! This code was generated by `zbus-xmlgen` `5.2.0` from D-Bus introspection data.
4//! Source: `com.steampowered.CecDaemon1.MessageHandler.xml`.
5//!
6//! You may prefer to adapt it, instead of using it verbatim.
7//!
8//! More information can be found in the [Writing a client proxy] section of the zbus
9//! documentation.
10//!
11//!
12//! [Writing a client proxy]: https://z-galaxy.github.io/zbus/client.html
13//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
14use zbus::proxy;
15#[proxy(
16    interface = "com.steampowered.CecDaemon1.MessageHandler1",
17    assume_defaults = true
18)]
19pub trait MessageHandler1 {
20    /// HandleMessage method
21    #[allow(clippy::too_many_arguments)]
22    fn handle_message(
23        &self,
24        device: &zbus::zvariant::ObjectPath<'_>,
25        initiator: u8,
26        destination: u8,
27        timestamp: u64,
28        message: &[u8],
29    ) -> zbus::Result<(bool, u8)>;
30}