1 | //! D-Bus standard interfaces. |
2 | //! |
3 | //! Provides blocking versions of the proxy types in [`zbus::fdo`] module. |
4 | |
5 | use enumflags2::BitFlags; |
6 | use static_assertions::assert_impl_all; |
7 | use std::collections::HashMap; |
8 | use zbus_names::{ |
9 | BusName, InterfaceName, OwnedBusName, OwnedInterfaceName, OwnedUniqueName, UniqueName, |
10 | WellKnownName, |
11 | }; |
12 | use zvariant::{ObjectPath, Optional, OwnedValue, Value}; |
13 | |
14 | use crate::{ |
15 | fdo::{ |
16 | ConnectionCredentials, ManagedObjects, ReleaseNameReply, RequestNameFlags, |
17 | RequestNameReply, Result, |
18 | }, |
19 | proxy, OwnedGuid, |
20 | }; |
21 | |
22 | gen_introspectable_proxy!(false, true); |
23 | assert_impl_all!(IntrospectableProxy<'_>: Send, Sync, Unpin); |
24 | |
25 | gen_properties_proxy!(false, true); |
26 | assert_impl_all!(PropertiesProxy<'_>: Send, Sync, Unpin); |
27 | |
28 | gen_object_manager_proxy!(false, true); |
29 | assert_impl_all!(ObjectManagerProxy<'_>: Send, Sync, Unpin); |
30 | |
31 | gen_peer_proxy!(false, true); |
32 | assert_impl_all!(PeerProxy<'_>: Send, Sync, Unpin); |
33 | |
34 | gen_monitoring_proxy!(false, true); |
35 | assert_impl_all!(MonitoringProxy<'_>: Send, Sync, Unpin); |
36 | |
37 | gen_stats_proxy!(false, true); |
38 | assert_impl_all!(StatsProxy<'_>: Send, Sync, Unpin); |
39 | |
40 | gen_dbus_proxy!(false, true); |
41 | assert_impl_all!(DBusProxy<'_>: Send, Sync, Unpin); |
42 | |