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 | dbus_proxy , |
16 | fdo::{ |
17 | ConnectionCredentials, ManagedObjects, ReleaseNameReply, RequestNameFlags, |
18 | RequestNameReply, Result, |
19 | }, |
20 | Guid, |
21 | }; |
22 | |
23 | gen_introspectable_proxy!(false, true); |
24 | assert_impl_all!(IntrospectableProxy<'_>: Send, Sync, Unpin); |
25 | |
26 | gen_properties_proxy!(false, true); |
27 | assert_impl_all!(PropertiesProxy<'_>: Send, Sync, Unpin); |
28 | |
29 | gen_object_manager_proxy!(false, true); |
30 | assert_impl_all!(ObjectManagerProxy<'_>: Send, Sync, Unpin); |
31 | |
32 | gen_peer_proxy!(false, true); |
33 | assert_impl_all!(PeerProxy<'_>: Send, Sync, Unpin); |
34 | |
35 | gen_monitoring_proxy!(false, true); |
36 | assert_impl_all!(MonitoringProxy<'_>: Send, Sync, Unpin); |
37 | |
38 | gen_stats_proxy!(false, true); |
39 | assert_impl_all!(StatsProxy<'_>: Send, Sync, Unpin); |
40 | |
41 | gen_dbus_proxy!(false, true); |
42 | assert_impl_all!(DBusProxy<'_>: Send, Sync, Unpin); |
43 | |