dbus_async/name_flag.rs
1bitflags! {
2 /// An enum representing a [flag] for the [`RequestName`] method. see [`request_name`]
3 ///
4 /// [flag]: https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-request-name
5 /// [`RequestName`]: https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-request-name
6 /// [`request_name`]: crate::DBus::request_name
7 pub struct DBusNameFlag: u32 {
8 const ALLOW_REPLACEMENT = 0x01;
9 const REPLACE_EXISTING = 0x02;
10 const DO_NOT_QUEUE = 0x04;
11 }
12}