[−][src]Enum zbus::fdo::RequestNameFlags
The flags used by the bus request_name
method.
Variants
If an application A specifies this flag and succeeds in becoming the owner of the name, and
another application B later calls request_name
with the ReplaceExisting
flag, then
application A will lose ownership and receive a org.freedesktop.DBus.NameLost
signal, and
application B will become the new owner. If AllowReplacement
is not specified by
application A, or ReplaceExisting
is not specified by application B, then application B
will not replace application A as the owner.
Try to replace the current owner if there is one. If this flag is not set the application
will only become the owner of the name if there is no current owner. If this flag is set,
the application will replace the current owner if the current owner specified
AllowReplacement
.
Without this flag, if an application requests a name that is already owned, the application will be placed in a queue to own the name when the current owner gives it up. If this flag is given, the application will not be placed in the queue, the request for the name will simply fail. This flag also affects behavior when an application is replaced as name owner; by default the application moves back into the waiting queue, unless this flag was provided when the application became the name owner.
Trait Implementations
impl BitAnd<RequestNameFlags> for RequestNameFlags
[src]
type Output = BitFlags<RequestNameFlags>
The resulting type after applying the &
operator.
fn bitand(self, other: Self) -> Self::Output
[src]
impl BitOr<RequestNameFlags> for RequestNameFlags
[src]
type Output = BitFlags<RequestNameFlags>
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self::Output
[src]
impl BitXor<RequestNameFlags> for RequestNameFlags
[src]
type Output = BitFlags<RequestNameFlags>
The resulting type after applying the ^
operator.
fn bitxor(self, other: Self) -> Self::Output
[src]
impl Clone for RequestNameFlags
[src]
fn clone(&self) -> RequestNameFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RequestNameFlags
[src]
impl Debug for RequestNameFlags
[src]
impl<'de> Deserialize<'de> for RequestNameFlags
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Not for RequestNameFlags
[src]
type Output = BitFlags<RequestNameFlags>
The resulting type after applying the !
operator.
fn not(self) -> Self::Output
[src]
impl PartialEq<RequestNameFlags> for RequestNameFlags
[src]
fn eq(&self, other: &RequestNameFlags) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl RawBitFlags for RequestNameFlags
[src]
impl RawBitFlags for RequestNameFlags
[src]
type Type = u32
The underlying integer type.
fn all() -> Self::Type
[src]
fn bits(self) -> Self::Type
[src]
fn flag_list() -> &'static [Self]
[src]
fn bitflags_type_name() -> &'static str
[src]
impl Serialize for RequestNameFlags
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RequestNameFlags
[src]
impl Type for RequestNameFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for RequestNameFlags
impl Send for RequestNameFlags
impl Sync for RequestNameFlags
impl Unpin for RequestNameFlags
impl UnwindSafe for RequestNameFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,