1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! D-Bus standard interfaces.
//!
//! Provides blocking versions of the proxy types in [`zbus::fdo`] module.

use enumflags2::BitFlags;
use static_assertions::assert_impl_all;
use std::collections::HashMap;
use zbus_names::{
    BusName, InterfaceName, OwnedBusName, OwnedInterfaceName, OwnedUniqueName, UniqueName,
    WellKnownName,
};
use zvariant::{ObjectPath, Optional, OwnedValue, Value};

use crate::{
    dbus_proxy,
    fdo::{
        ConnectionCredentials, ManagedObjects, ReleaseNameReply, RequestNameFlags,
        RequestNameReply, Result,
    },
};

gen_introspectable_proxy!(false, true);
assert_impl_all!(IntrospectableProxy<'_>: Send, Sync, Unpin);

gen_properties_proxy!(false, true);
assert_impl_all!(PropertiesProxy<'_>: Send, Sync, Unpin);

gen_object_manager_proxy!(false, true);
assert_impl_all!(ObjectManagerProxy<'_>: Send, Sync, Unpin);

gen_peer_proxy!(false, true);
assert_impl_all!(PeerProxy<'_>: Send, Sync, Unpin);

gen_monitoring_proxy!(false, true);
assert_impl_all!(MonitoringProxy<'_>: Send, Sync, Unpin);

gen_stats_proxy!(false, true);
assert_impl_all!(StatsProxy<'_>: Send, Sync, Unpin);

gen_dbus_proxy!(false, true);
assert_impl_all!(DBusProxy<'_>: Send, Sync, Unpin);